rubyx/lib/sof/array.rb
2014-08-17 21:44:34 +03:00

10 lines
177 B
Ruby

Array.class_eval do
def to_sof_node(writer , level)
node = Sof::NodeList.new()
each do |object|
node.add writer.to_sof_node( object )
end
node
end
end