Sha256: 18c6f616bfbfc0c880536e3cb9f50ce411c9d6a20f5b72c429e4ffecb6e01f37

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

# encoding: utf-8

module RuboCop
  # This module holds the RuboCop version information.
  module Version
    STRING = '0.33.0'

    MSG = '%s (using Parser %s, running on %s %s %s)'

    module_function

    def version(debug = false)
      if debug
        format(MSG, STRING, Parser::VERSION,
               RUBY_ENGINE, RUBY_VERSION, RUBY_PLATFORM)
      else
        STRING
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-0.33.0 lib/rubocop/version.rb