Class: BooticCli::Themes::ItemWithTime
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- BooticCli::Themes::ItemWithTime
- Defined in:
- lib/bootic_cli/themes/api_theme.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
11 12 13 14 |
# File 'lib/bootic_cli/themes/api_theme.rb', line 11 def ==(other) # puts "Comparing with time #{self.updated_on} vs #{other.updated_on}" self.updated_on.to_i == other.updated_on.to_i end |
#updated_on ⇒ Object
7 8 9 |
# File 'lib/bootic_cli/themes/api_theme.rb', line 7 def updated_on Time.parse(super) end |