method

parse_gem_version

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: Rails::GemBoot
parse_gem_version(text) public

No documentation

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

Hide source
# File railties/environments/boot.rb, line 96
      def parse_gem_version(text)
        $1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/
      end
Register or log in to add new notes.