Module: LatexCurriculumVitae::Version

Defined in:
lib/latex_curriculum_vitae/version.rb

Overview

This module holds the latex_curriculum_vitae version information.

Constant Summary collapse

STRING =
'2.1.3'.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/latex_curriculum_vitae/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