Class: Squidward::Command::Version
- Defined in:
- lib/squidward/commands/version.rb
Overview
Gem Versioning Helper and also displays current version to the user
Constant Summary collapse
- GEM_VERSION =
"0.5"
Instance Method Summary collapse
-
#index(args = nil) ⇒ Object
Displays current gem version to the user.
Methods inherited from Base
#ask, #ask_for_credentials, #ask_for_password, #configuration, #display, #echo_off, #echo_on, #initialize, #logger, #read_credentials, #store_configuration, #store_credentials
Constructor Details
This class inherits a constructor from Squidward::Command::Base
Instance Method Details
#index(args = nil) ⇒ Object
Displays current gem version to the user
8 9 10 |
# File 'lib/squidward/commands/version.rb', line 8 def index(args = nil) display("squidward-#{GEM_VERSION}") end |