2014-08-13 19:05:00 +02:00
|
|
|
Array.class_eval do
|
2014-08-15 21:29:48 +02:00
|
|
|
def to_sof_node(members , level)
|
2014-08-16 11:34:25 +02:00
|
|
|
node = Sof::NodeList.new()
|
2014-08-15 21:29:48 +02:00
|
|
|
each do |object|
|
|
|
|
node.add members.to_sof_node( object )
|
2014-08-14 16:40:56 +02:00
|
|
|
end
|
2014-08-15 21:29:48 +02:00
|
|
|
node
|
2014-08-13 19:05:00 +02:00
|
|
|
end
|
|
|
|
end
|