Class: Resedit::VersionCommand

Inherits:
AppCommand show all
Defined in:
lib/resedit/app/std_commands.rb

Instance Attribute Summary

Attributes inherited from AppCommand

#names, #ohash, #opts, #params, #type

Instance Method Summary collapse

Methods inherited from AppCommand

#addOption, #addParam, #log, #logd, #loge, #parseParams, #run

Constructor Details

#initializeVersionCommand

Returns a new instance of VersionCommand.



6
7
8
# File 'lib/resedit/app/std_commands.rb', line 6

def initialize
    super(['version','--version'])
end

Instance Method Details

#job(params) ⇒ Object



9
10
11
# File 'lib/resedit/app/std_commands.rb', line 9

def job(params)
    log('%s v%s %s. Resedit v%s.',App::get().name, App.get().version, App::get().copyright, Resedit::VERSION)
end