Class: Command::Version
- Inherits:
-
CommandBase
- Object
- CommandBase
- Command::Version
- Defined in:
- lib/command/version.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from CommandBase
execute!, #force_change_settings_function, help, #hook_call, #initialize, #load_local_settings, #tagname_to_ids
Constructor Details
This class inherits a constructor from Command::CommandBase
Class Method Details
.oneline_help ⇒ Object
8 9 10 |
# File 'lib/command/version.rb', line 8 def self.oneline_help "バージョンを表示します" end |
Instance Method Details
#execute(argv) ⇒ Object
12 13 14 |
# File 'lib/command/version.rb', line 12 def execute(argv) puts ::Version + " build " + ::CommitVersion end |