Class: CFPropertyList::CFType
- Inherits:
-
Object
- Object
- CFPropertyList::CFType
- Defined in:
- lib/cfpropertylist/rbCFTypes.rb
Overview
This class defines the base class for all CFType classes
Direct Known Subclasses
CFArray, CFBoolean, CFData, CFDate, CFDictionary, CFInteger, CFReal, CFString, CFUid
Instance Attribute Summary collapse
-
#value ⇒ Object
value of the type.
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ CFType
constructor
A new instance of CFType.
- #to_binary(bplist) ⇒ Object
- #to_plain(plist) ⇒ Object
- #to_xml(parser) ⇒ Object
Constructor Details
#initialize(value = nil) ⇒ CFType
Returns a new instance of CFType.
33 34 35 |
# File 'lib/cfpropertylist/rbCFTypes.rb', line 33 def initialize(value=nil) @value = value end |
Instance Attribute Details
#value ⇒ Object
value of the type
31 32 33 |
# File 'lib/cfpropertylist/rbCFTypes.rb', line 31 def value @value end |
Instance Method Details
#to_binary(bplist) ⇒ Object
40 41 |
# File 'lib/cfpropertylist/rbCFTypes.rb', line 40 def to_binary(bplist) end |
#to_plain(plist) ⇒ Object
43 44 |
# File 'lib/cfpropertylist/rbCFTypes.rb', line 43 def to_plain(plist) end |
#to_xml(parser) ⇒ Object
37 38 |
# File 'lib/cfpropertylist/rbCFTypes.rb', line 37 def to_xml(parser) end |