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