Class: Ptimelog::Command::Version

Inherits:
Base
  • Object
show all
Defined in:
lib/ptimelog/command/version.rb

Overview

Output the Version-Number

Instance Method Summary collapse

Methods inherited from Base

#entries=, #needs_entries?

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

#runObject



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

def run
  puts Ptimelog::VERSION
end