Class: CocoaPods::AppGroup::Store

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods/app_group/store.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path = default_root) ⇒ Store



8
9
10
# File 'lib/cocoapods/app_group/store.rb', line 8

def initialize(path = default_root)
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



6
7
8
# File 'lib/cocoapods/app_group/store.rb', line 6

def path
  @path
end

Instance Method Details

#read(name) ⇒ Object



12
13
14
# File 'lib/cocoapods/app_group/store.rb', line 12

def read(name)
  table[name.to_s]
end

#write(name, value) ⇒ Object



16
17
18
# File 'lib/cocoapods/app_group/store.rb', line 16

def write(name, value)
  saving { table[name.to_s] = value }
end