Method: Library::Metadata#version
- Defined in:
- lib/library/metadata.rb
#version ⇒ Object
Version number.
Technically, a library should not appear in a ledger list if it lacks a version. However, just in case this occurs (say by a hand edited environment) we fallback to a version of ‘0.0.0’.
109 110 111 |
# File 'lib/library/metadata.rb', line 109 def version @data[:version] ||= Version.new('0.0.0') end |