Module: Hoe::Manns::Version

Defined in:
lib/hoe/version.rb

Overview

This module holds the latex_curriculum_vitae version information.

Constant Summary collapse

STRING =
'2.1.8'.freeze
MSG =
'%<version>s (using Parser %<parser_version>s, running on ' \
'%<ruby_engine>s %<ruby_version>s %<ruby_platform>s)'.freeze

Class Method Summary collapse

Class Method Details

.version(debug = false) ⇒ Object



25
26
27
28
29
30
31
32
33
# File 'lib/hoe/version.rb', line 25

def self.version(debug = false)
  if debug
    format(MSG, version: STRING, parser_version: Parser::VERSION,
           ruby_engine: RUBY_ENGINE, ruby_version: RUBY_VERSION,
           ruby_platform: RUBY_PLATFORM)
  else
    STRING
  end
end