Module: Sambot::Runtime
- Defined in:
- lib/sambot/runtime.rb
Class Method Summary collapse
Class Method Details
.ensure_latest ⇒ Object
13 14 15 16 17 18 |
# File 'lib/sambot/runtime.rb', line 13 def self.ensure_latest latest_version = Gems.new.versions('sambot')[0]['number'] UI.debug("Current version is #{Sambot::VERSION}") UI.debug("Latest version is #{latest_version}") UI.info('A newer version of this gem exists - please update the gem before continuing') if obsolete? end |