Class: XCCache::PlistRepresentable
- Inherits:
-
HashRepresentable
- Object
- HashRepresentable
- XCCache::PlistRepresentable
- Defined in:
- lib/xccache/core/syntax/plist.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from HashRepresentable
Instance Method Summary collapse
Methods inherited from HashRepresentable
#[], #[]=, #initialize, #merge!, #reload
Constructor Details
This class inherits a constructor from XCCache::HashRepresentable
Instance Method Details
#load ⇒ Object
6 7 8 9 10 11 |
# File 'lib/xccache/core/syntax/plist.rb', line 6 def load plist = CFPropertyList::List.new(file: path) CFPropertyList.native_types(plist.value) rescue StandardError {} end |
#save(to: nil) ⇒ Object
13 14 15 |
# File 'lib/xccache/core/syntax/plist.rb', line 13 def save(to: nil) raise NotImplementedError end |