lib/helpers/class_extensions.rb in rspreadsheet-0.4.5 vs lib/helpers/class_extensions.rb in rspreadsheet-0.4.7
- old
+ new
@@ -8,13 +8,10 @@
map(&block).sum(identity)
else
inject(0){ |sum, element| sum.to_f + element.to_f } || identity
end
end
- def self.marker
- 'yes'
- end
end
refine LibXML::XML::Node do
def equals?(node2); raise 'nic' end
def ==(node2)
@@ -69,12 +66,9 @@
if block_given?
map(&block).sum(identity)
else
inject(0){ |sum, element| sum.to_f + element.to_f } || identity
end
- end
- def self.marker
- 'yes2'
end
end
class LibXML::XML::Node
def ==(node2)
\ No newline at end of file