Module: Commands::Version

Included in:
LogTime
Defined in:
lib/commands/version.rb

Class Method Summary collapse

Class Method Details

.included(thor) ⇒ Object



3
4
5
6
7
8
9
10
# File 'lib/commands/version.rb', line 3

def self.included(thor)
    thor.class_eval do
		desc "version", ""
		def version
			puts IO.read('VERSION').strip
		end
	end
end