Namespace
Methods
G
V
Class Public methods
gem_version()

Returns the version of the currently loaded 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 version of the currently loaded Active Model as a Gem::Version

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