Class: PodPrebuild::State
- Inherits:
-
Object
- Object
- PodPrebuild::State
- Defined in:
- lib/cocoapods-binary-ht/state_store.rb
Instance Method Summary collapse
- #cache_validation ⇒ Object
-
#initialize ⇒ State
constructor
A new instance of State.
- #update(data) ⇒ Object
Constructor Details
#initialize ⇒ State
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_validation ⇒ Object
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 |