Class/Module Index [+]

Quicksearch

Facter::Util::CFPropertyList::CFBoolean

This class contains a boolean value

Public Instance Methods

to_binary(bplist) click to toggle source

convert to binary

# File lib/facter/util/cfpropertylist/lib/rbCFTypes.rb, line 149
def to_binary(bplist)
  bplist.bool_to_binary(@value);
end
to_xml(parser) click to toggle source

convert to XML

# File lib/facter/util/cfpropertylist/lib/rbCFTypes.rb, line 144
def to_xml(parser)
  parser.new_node(@value ? 'true' : 'false')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.