Class: Kuzya::Commands::Version
- Inherits:
-
Base
- Object
- Base
- Kuzya::Commands::Version
show all
- Defined in:
- lib/kuzya/commands/version.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
args_without_command, call
Constructor Details
Returns a new instance of Version.
16
17
|
# File 'lib/kuzya/commands/version.rb', line 16
def initialize
end
|
Class Method Details
.info ⇒ Object
5
6
7
8
9
10
|
# File 'lib/kuzya/commands/version.rb', line 5
def info
<<-INFO
#{'version'.bold} - print installed kuzya's version.
aliases: #{'-v'.italic}, #{'--version'.italic}
INFO
end
|
.prepare(_, _) ⇒ Object
12
13
|
# File 'lib/kuzya/commands/version.rb', line 12
def prepare(_, _)
end
|
Instance Method Details
#call ⇒ Object
19
20
21
|
# File 'lib/kuzya/commands/version.rb', line 19
def call
puts "kuzya - #{Kuzya::VERSION}"
end
|