Namespace

Module

Class

Methods

Class Public methods

gem_version()

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

📝 Source code
# File activemodel/lib/active_model/gem_version.rb, line 5
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end
🔎 See on GitHub

version()

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

📝 Source code
# File activemodel/lib/active_model/version.rb, line 7
  def self.version
    gem_version
  end
🔎 See on GitHub