Skip to Content Skip to Search
Namespace
Methods
G
V

Class Public methods

gem_version()

Returns the currently loaded version of Active Model as a Gem::Version.

# File activemodel/lib/active_model/gem_version.rb, line 5
def self.gem_version
  Gem::Version.new VERSION::STRING
end

version()

Returns the currently loaded version of Active Model as a Gem::Version.

# File activemodel/lib/active_model/version.rb, line 7
def self.version
  gem_version
end