lib/gemika/matrix.rb
def find_aliased_ruby(requested_version, aliased_versions)
        found_version = aliased_versions[requested_version]

        if found_version == requested_version
          found_version
        elsif found_version
          find_aliased_ruby(found_version, aliased_versions)
        else
          requested_version
        end
      end
##
# Recursively traverses aliases until the requested Ruby version is found.
# Returns the requested version if no alias can be found for that version.
#
Recursively traverses aliases until the requested Ruby version is found.
Returns the requested version if no alias can be found for that version.
Recursively traverses aliases until the requested Ruby version is found . Returns the requested version if no alias can be found for that version .
def find_aliased_ruby(requested_version, aliased_versions)
        found_version = aliased_versions[requested_version]
        if found_version == requested_version
          found_version
        elsif found_version
          find_aliased_ruby(found_version, aliased_versions)
        else
          requested_version
        end
      end
def find_aliased_ruby ( requested_version , aliased_versions ) found_version = aliased_versions [ requested_version ] if found_version == requested_version found_version elsif found_version find_aliased_ruby ( found_version , aliased_versions ) else requested_version end end
Recursively traverses aliases until the requested Ruby version is found.
Recursively traverses aliases until the requested Ruby version is found .
requested_version
aliased_versions