Class: CFPropertyList::CFType

Inherits:
Object
  • Object
show all
Defined in:
lib/rbCFTypes.rb

Overview

This class defines the base class for all CFType classes

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject

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_xmlObject

convert type to XML



26
27
# File 'lib/rbCFTypes.rb', line 26

def to_xml
end