Sha256: 976d9bdfd253a2ed8ac7f90d25cc6ee12e66b63054a8f06820db3a7a3b7f7f70

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

# encoding: utf-8

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

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

    module_function

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
sabat-rubocop-0.9.0 lib/rubocop/version.rb
rubocop-0.9.0 lib/rubocop/version.rb