Sha256: 7d377f72e2acf833de16bfa92f67d0e93b394d4b0e61e4ec830bb723de65276d

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

# encoding: utf-8

module Rubocop
  # This module holds the RuboCop version information.
  module Version
    STRING = '0.10.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

1 entries across 1 versions & 1 rubygems

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