Class: Command::Version

Inherits:
CommandBase show all
Defined in:
lib/command/version.rb

Instance Method Summary collapse

Methods inherited from CommandBase

execute_and_rescue_exit, #initialize

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_helpObject



12
13
14
# File 'lib/command/version.rb', line 12

def oneline_help
  "バージョンを表示します"
end