Object
A command to report the application’s current version number.
# File lib/reek/cli/version_command.rb, line 10 def initialize(progname) @progname = progname end
# 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.