Module: CmpImgTool::Version

Defined in:
lib/web_image_compare/version.rb

Overview

BW config api Version

Constant Summary collapse

VERSION =

The current gem version

'0.0.3'
DATE =

The date version was updated

'2016-07-06'
MSG =

Debug output that will contain ruby information

'Version %s %s (running on %s-%s)'

Class Method Summary collapse

Class Method Details

.version(debug = false) ⇒ Object

Outputs the current gem version



14
15
16
17
18
19
20
21
# File 'lib/web_image_compare/version.rb', line 14

def version(debug = false)
  if debug
    format(MSG, VERSION, DATE, RUBY_ENGINE,
           RUBY_VERSION)
  else
    VERSION
  end
end