Parent

Methods

Class/Module Index [+]

Quicksearch

Reek::Cli::VersionCommand

A command to report the application’s current version number.

Public Class Methods

new(progname) click to toggle source
# File lib/reek/cli/version_command.rb, line 10
def initialize(progname)
  @progname = progname
end

Public Instance Methods

execute(view) click to toggle source
# File lib/reek/cli/version_command.rb, line 13
def execute(view)
  view.output("#{@progname} #{Reek::VERSION}\n")
  view.report_success
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.