edge badge
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 4
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 6
def self.version
  gem_version
end