Lines Matching refs:elements
1244 def initialize( adaptor, element_description, elements = nil )
1247 @elements = nil
1251 if elements.instance_of?( Array )
1252 @elements = elements
1254 add( elements )
1267 when @elements then @elements << el
1270 @elements = [ @single_element, el ]
1272 return( @elements )
1291 @elements && @cursor < @elements.length )
1296 @elements and return @elements.length
1316 out = to_tree( @elements.at( @cursor ) )