Flowdock
method

version_for_dir

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: Rails::VendorGemSourceIndex

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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.