Class/Module Index [+]

Quicksearch

Facter::Util::CFPropertyList::CFReal

This class holds float values

Public Instance Methods

to_binary(bplist) click to toggle source

convert to binary

# File lib/facter/util/cfpropertylist/lib/rbCFTypes.rb, line 69
def to_binary(bplist)
  bplist.num_to_binary(self)
end
to_xml(parser) click to toggle source

convert to XML

# File lib/facter/util/cfpropertylist/lib/rbCFTypes.rb, line 62
def to_xml(parser)
  n = parser.new_node('real')
  n = parser.append_node(n, parser.new_text(@value.to_s))
  n
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.