Module: Ronin::Core::Metadata::Version::ClassMethods
- Defined in:
- lib/ronin/core/metadata/version.rb
Overview
Class methods.
Instance Method Summary collapse
-
#version(new_version = nil) ⇒ String?
Gets or sets the version number.
Instance Method Details
#version(new_version = nil) ⇒ String?
Gets or sets the version number.
68 69 70 71 72 |
# File 'lib/ronin/core/metadata/version.rb', line 68 def version(new_version=nil) if new_version then @version = new_version else @version end end |