Class: PlatformosCheck::PlatformosLiquid::SourceIndex::BaseState

Inherits:
Object
  • Object
show all
Defined in:
lib/platformos_check/platformos_liquid/source_index/base_state.rb

Direct Known Subclasses

FilterState, ObjectState, TagState

Class Method Summary collapse

Class Method Details

.mark_outdatedObject



8
9
10
# File 'lib/platformos_check/platformos_liquid/source_index/base_state.rb', line 8

def mark_outdated
  @up_to_date = false
end

.mark_up_to_dateObject



12
13
14
# File 'lib/platformos_check/platformos_liquid/source_index/base_state.rb', line 12

def mark_up_to_date
  @up_to_date = true
end

.outdated?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/platformos_check/platformos_liquid/source_index/base_state.rb', line 16

def outdated?
  @up_to_date == false
end