Sha256: 0e4b40f88ed91aa615861ce7265b2aa5f51945eef78950266dbc8474d7d93439

Contents?: true

Size: 433 Bytes

Versions: 12

Compression:

Stored size: 433 Bytes

Contents

require File.join(File.dirname(File.dirname(File.dirname(File.expand_path(__FILE__)))), 'reek')

module Reek
  module Cli

    #
    # A command to report the application's current version number.
    #
    class VersionCommand
      def initialize(progname)
        @progname = progname
      end
      def execute(view)
        view.output("#{@progname} #{Reek::VERSION}\n")
        view.report_success
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
reek-1.3.1 lib/reek/cli/version_command.rb
reek-1.3 lib/reek/cli/version_command.rb
reek-1.2.13 lib/reek/cli/version_command.rb
reek-1.2.12 lib/reek/cli/version_command.rb
reek-1.2.11 lib/reek/cli/version_command.rb
reek-1.2.10 lib/reek/cli/version_command.rb
reek-1.2.9 lib/reek/cli/version_command.rb
reek-1.2.8 lib/reek/cli/version_command.rb
reek-1.2.7.3 lib/reek/cli/version_command.rb
reek-1.2.7.2 lib/reek/cli/version_command.rb
reek-1.2.7.1 lib/reek/cli/version_command.rb
reek-1.2.7 lib/reek/cli/version_command.rb