Class: Tomo::Commands::Version
Instance Method Summary
collapse
included
after_parse, arg, option, parse, parser
enabled?
Instance Method Details
#banner ⇒ Object
12
13
14
15
16
17
18
|
# File 'lib/tomo/commands/version.rb', line 12
def banner
<<~BANNER
Usage: #{green('tomo version')}
Display tomo’s version information.
BANNER
end
|
#call(_options) ⇒ Object
20
21
22
|
# File 'lib/tomo/commands/version.rb', line 20
def call(_options)
puts "tomo/#{Tomo::VERSION} #{RUBY_DESCRIPTION}"
end
|
#summary ⇒ Object
8
9
10
|
# File 'lib/tomo/commands/version.rb', line 8
def summary
"Display tomo’s version"
end
|