lib/helpers/class_extensions.rb in rspreadsheet-0.4.8 vs lib/helpers/class_extensions.rb in rspreadsheet-0.4.9
- old
+ new
@@ -105,8 +105,12 @@
def elements
result = []
each_element { |e| result << e }
return result
end
+ # TODO: posoudit jestli by to nebylo rychlejsi takto
+# def elements
+# children.select { |e| e.element? }
+# end
end
end
\ No newline at end of file