Class: Xively::Command::Version
- Defined in:
- lib/xively-cli/command/version.rb
Overview
display version
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#index ⇒ Object
version.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Xively::Command::Base
Instance Method Details
#index ⇒ Object
version
show xively client version
Example:
$ xively version v0.0.1
17 18 19 20 21 |
# File 'lib/xively-cli/command/version.rb', line 17 def index validate_arguments! puts(Xively::VERSION) end |