Class: Version

Inherits:
Object
  • Object
show all
Defined in:
lib/version.rb

Constant Summary collapse

GEMSPEC_FILE =
"#{__dir__}/../ops_team.gemspec"

Class Method Summary collapse

Class Method Details

.min_version_met?(min_version) ⇒ Boolean

Returns:

  • (Boolean)

14
15
16
# File 'lib/version.rb', line 14

def min_version_met?(min_version)
	new.send(:min_version_met?, min_version)
end

.versionObject

these class methods exist because I don't want to have to call `Version.new.version` elsewhere


10
11
12
# File 'lib/version.rb', line 10

def version
	new.send(:version)
end