# frozen_string_literal: true module Gotoinc module Standard module Version STRING = '1.0.1' MSG = '%s (using Parser %s, running on ' \ '%s %s %s)' 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 end end end