lib/tool_version/detector.rb
# Run through the specified schema and fetch the most recent version for tooling
Run through the specified schema and fetch the most recent version for tooling
Run through the specified schema and fetch the most recent version for tooling
def fetch_tool_versions
      @schemas.map do |schema|
        Array(TOOL_DETECTOR[schema.to_sym]).map do |tool_detector|
          detector_instance = tool_detector.new(
            @directory_interface
          )
          detector_instance.versions
        end
      end.flatten
    end
def fetch_tool_versions @schemas . map do | schema | Array ( TOOL_DETECTOR [ schema . to_sym ] ) . map do | tool_detector | detector_instance = tool_detector . new ( @directory_interface ) detector_instance . versions end end . flatten end
Run through the specified schema and fetch the most recent version for tooling
Run through the specified schema and fetch the most recent version for tooling