Class: Plist::PArray

Inherits:
PTag
  • Object
show all
Defined in:
lib/facter/util/plist/parser.rb

Instance Attribute Summary

Attributes inherited from PTag

#children, #text

Instance Method Summary collapse

Methods inherited from PTag

inherited, #initialize, mappings

Constructor Details

This class inherits a constructor from Plist::PTag

Instance Method Details

#to_rubyObject



171
172
173
174
175
# File 'lib/facter/util/plist/parser.rb', line 171

def to_ruby
    children.collect do |c|
        c.to_ruby
    end
end