module SmartWatch
The main SmartWatch
driver
Public Class Methods
config()
click to toggle source
# File lib/smart_watch.rb, line 11 def self.config @@config ||= OpenStruct.new end
gem_version()
click to toggle source
Returns the version of the currently loaded SmartWatch
as a Gem::Version
.
# File lib/smart_watch/version.rb, line 5 def self.gem_version Gem::Version.new VERSION::STRING end
ruby_version()
click to toggle source
# File lib/smart_watch/version.rb, line 13 def self.ruby_version RUBY_VERSION::STRING end
version()
click to toggle source
# File lib/smart_watch/version.rb, line 9 def self.version self.gem_version.to_s end