lib/rmega/nodes/root.rb in rmega-0.2.0 vs lib/rmega/nodes/root.rb in rmega-0.2.1
- old
+ new
@@ -1,8 +1,14 @@
module Rmega
module Nodes
class Root < Node
include Expandable
include Traversable
+
+ def download(path)
+ children.each do |node|
+ node.download(path)
+ end
+ end
end
end
end