Class: Ptimelog::Command::Version
- Defined in:
- lib/ptimelog/command/version.rb
Overview
Output the Version-Number
Instance Method Summary collapse
-
#initialize(_arg) ⇒ Version
constructor
A new instance of Version.
- #run ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(_arg) ⇒ Version
Returns a new instance of Version.
7 8 9 |
# File 'lib/ptimelog/command/version.rb', line 7 def initialize(_arg) super(nil) end |
Instance Method Details
#run ⇒ Object
11 12 13 |
# File 'lib/ptimelog/command/version.rb', line 11 def run puts Ptimelog::VERSION end |