Class: PodPrebuild::State

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-binary-ht/state_store.rb

Instance Method Summary collapse

Constructor Details

#initializeState

Returns a new instance of State.



7
8
9
10
11
# File 'lib/cocoapods-binary-ht/state_store.rb', line 7

def initialize
  @store = {
    :cache_validation => CacheValidationResult.new
  }
end

Instance Method Details

#cache_validationObject



17
18
19
# File 'lib/cocoapods-binary-ht/state_store.rb', line 17

def cache_validation
  @store[:cache_validation]
end

#update(data) ⇒ Object



13
14
15
# File 'lib/cocoapods-binary-ht/state_store.rb', line 13

def update(data)
  @store.merge!(data)
end