Class: NSXMLNode
- Inherits:
-
Object
- Object
- NSXMLNode
- Defined in:
- lib/bean/nsxmlnode_additions.rb
Overview
Extensions to the NSXMLNode class
Instance Method Summary collapse
-
#[](key) ⇒ NSXMLNode
Returns the child at the given index.
-
#length ⇒ Fixnum
Returns the number of children for this code.
Instance Method Details
#[](key) ⇒ NSXMLNode
Returns the child at the given index.
10 11 12 |
# File 'lib/bean/nsxmlnode_additions.rb', line 10 def [](key) childAtIndex(key) end |
#length ⇒ Fixnum
Returns the number of children for this code
18 19 20 |
# File 'lib/bean/nsxmlnode_additions.rb', line 18 def length childCount end |