method
parse_gem_version
parse_gem_version(text)
public
Hide source
# File railties/environments/boot.rb, line 97 def parse_gem_version(text) $1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/ end