Module: Bluth::VERSION
- Defined in:
- lib/bluth.rb
Class Method Summary collapse
Class Method Details
.load_config ⇒ Object
22 23 24 25 |
# File 'lib/bluth.rb', line 22 def self.load_config require 'yaml' @version ||= YAML.load_file(File.join(BLUTH_LIB_HOME, '..', 'VERSION.yml')) end |
.to_s ⇒ Object
17 18 19 20 |
# File 'lib/bluth.rb', line 17 def self.to_s load_config [@version[:MAJOR], @version[:MINOR], @version[:PATCH]].join('.') end |