Module: Ruby::Commons
- Defined in:
- lib/ruby/commons.rb,
lib/ruby/commons/version.rb,
lib/ruby/commons/gem_version.rb
Defined Under Namespace
Modules: VERSION
Class Method Summary collapse
-
.gem_version ⇒ Object
Returns the version of the currently loaded Ruby::Commons as a
Gem::Version. -
.version ⇒ Object
Returns the version of the currently loaded Ruby::Commons as a string.
Class Method Details
.gem_version ⇒ Object
Returns the version of the currently loaded Ruby::Commons as a Gem::Version
4 5 6 |
# File 'lib/ruby/commons/gem_version.rb', line 4 def self.gem_version Gem::Version.new VERSION::STRING end |
.version ⇒ Object
Returns the version of the currently loaded Ruby::Commons as a string.
6 7 8 |
# File 'lib/ruby/commons/version.rb', line 6 def self.version VERSION::STRING end |