Flowdock
method

version_for_dir

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: Rails::VendorGemSourceIndex
version_for_dir(d) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/vendor_gem_source_index.rb, line 103
    def version_for_dir(d)
      matches = /-([^-]+)$/.match(d)
      Gem::Version.new(matches[1]) if matches
    end
Register or log in to add new notes.