Module: RubySmart::Support

Defined in:
lib/ruby_smart/support.rb,
lib/ruby_smart/support/version.rb,
lib/ruby_smart/support/gem_info.rb,
lib/ruby_smart/support/gem_version.rb,
lib/ruby_smart/support/thread_info.rb

Defined Under Namespace

Modules: GemInfo, ThreadInfo, VERSION

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/support/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/support/version.rb', line 8

def self.version
  gem_version
end