Module: SmartWatch
- Defined in:
- lib/smart_watch.rb,
lib/smart_watch/base.rb,
lib/smart_watch/logger.rb,
lib/smart_watch/version.rb,
lib/smart_watch/commands/cli.rb
Overview
The main SmartWatch driver
Defined Under Namespace
Modules: Commands, Logger, RUBY_VERSION, VERSION Classes: Base, Error
Class Method Summary collapse
- .config ⇒ Object
-
.gem_version ⇒ Object
Returns the version of the currently loaded SmartWatch as a
Gem::Version
. - .ruby_version ⇒ Object
- .version ⇒ Object
Class Method Details
.config ⇒ Object
11 12 13 |
# File 'lib/smart_watch.rb', line 11 def self.config @@config ||= OpenStruct.new end |
.gem_version ⇒ Object
Returns the version of the currently loaded SmartWatch as a Gem::Version
.
5 6 7 |
# File 'lib/smart_watch/version.rb', line 5 def self.gem_version Gem::Version.new VERSION::STRING end |
.ruby_version ⇒ Object
13 14 15 |
# File 'lib/smart_watch/version.rb', line 13 def self.ruby_version RUBY_VERSION::STRING end |
.version ⇒ Object
9 10 11 |
# File 'lib/smart_watch/version.rb', line 9 def self.version self.gem_version.to_s end |