Class: Version
- Inherits:
-
Object
- Object
- Version
- Defined in:
- lib/version.rb
Constant Summary collapse
- GEMSPEC_FILE =
"#{__dir__}/../ops_team.gemspec"
Class Method Summary collapse
- .min_version_met?(min_version) ⇒ Boolean
-
.version ⇒ Object
these class methods exist because I don’t want to have to call ‘Version.new.version` elsewhere.
Class Method Details
.min_version_met?(min_version) ⇒ Boolean
14 15 16 |
# File 'lib/version.rb', line 14 def min_version_met?(min_version) new.send(:min_version_met?, min_version) end |
.version ⇒ Object
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 |