Class: StockFolio::Check
- Inherits:
-
Object
- Object
- StockFolio::Check
- Defined in:
- lib/stockfolio/check.rb
Class Method Summary collapse
Class Method Details
.has_newer ⇒ Object
6 7 8 9 |
# File 'lib/stockfolio/check.rb', line 6 def self.has_newer @info = Gems.info 'stockfolio' Gem::Version.new(@info["version"]) > Gem::Version.new(StockFolio::VERSION) end |
.version_available ⇒ Object
11 12 13 |
# File 'lib/stockfolio/check.rb', line 11 def self.version_available return @info["version"] end |