Module: RubySmart::Namespace

Defined in:
lib/ruby_smart/namespace.rb,
lib/ruby_smart/namespace/base.rb,
lib/ruby_smart/namespace/version.rb,
lib/ruby_smart/namespace/gem_version.rb

Defined Under Namespace

Modules: VERSION Classes: Base

Class Method Summary collapse

Class Method Details

.gem_versionObject

Returns the version of the currently loaded module as a Gem::Version



6
7
8
# File 'lib/ruby_smart/namespace/gem_version.rb', line 6

def self.gem_version
  Gem::Version.new VERSION::STRING
end

.versionObject

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



8
9
10
# File 'lib/ruby_smart/namespace/version.rb', line 8

def self.version
  gem_version
end