Class: CFPropertyList::CFType
- Inherits:
-
Object
- Object
- CFPropertyList::CFType
- Defined in:
- lib/rbCFTypes.rb
Overview
This class defines the base class for all CFType classes
Direct Known Subclasses
CFArray, CFBoolean, CFData, CFDate, CFDictionary, CFInteger, CFReal, CFString
Instance Attribute Summary collapse
-
#value ⇒ Object
value of the type.
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ CFType
constructor
set internal value to parameter value by default.
-
#to_binary(bplist) ⇒ Object
convert type to binary.
-
#to_xml ⇒ Object
convert type to XML.
Constructor Details
#initialize(value = nil) ⇒ CFType
set internal value to parameter value by default
21 22 23 |
# File 'lib/rbCFTypes.rb', line 21 def initialize(value=nil) @value = value end |
Instance Attribute Details
#value ⇒ Object
value of the type
17 18 19 |
# File 'lib/rbCFTypes.rb', line 17 def value @value end |
Instance Method Details
#to_binary(bplist) ⇒ Object
convert type to binary
30 31 |
# File 'lib/rbCFTypes.rb', line 30 def to_binary(bplist) end |
#to_xml ⇒ Object
convert type to XML
26 27 |
# File 'lib/rbCFTypes.rb', line 26 def to_xml end |