module Opencontrol::Version

This module holds the Opencontrol Linter version information.

Constants

MSG
STRING

Public Class Methods

version(debug = false) click to toggle source
# File lib/opencontrol/version.rb, line 11
def self.version(debug = false)
  if debug
    require 'kwalify'
    format(MSG, version: STRING, parser_version: Kwalify::VERSION,
                ruby_engine: RUBY_ENGINE, ruby_version: RUBY_VERSION,
                ruby_platform: RUBY_PLATFORM)
  else
    STRING
  end
end