Class: Object

Inherits:
BasicObject
Defined in:
lib/rubycf_extensions.rb

Instance Method Summary collapse

Instance Method Details

#to_plistObject



48
49
50
51
52
53
54
55
56
57
58
# File 'lib/rubycf_extensions.rb', line 48

def to_plist
  # supported types
  # [Integer, Float, String, Array, Hash, RubyCF::Data].each do |klass|
    return RubyCF::PList.encode(self) #if self.is_a? klass
  # end
  # 
  # if self.resond_to? :to_hash
  # elsif self.resond_to? :to_a
  # elsif self.resond_to?
  # 
end