lib/fathom/node/data_node.rb in fathom-0.3.6 vs lib/fathom/node/data_node.rb in fathom-0.3.7

- old
+ new

@@ -4,10 +4,10 @@ A DataNode is a node generated from data itself. It stores the data and reveals some statistical measurements for the data. It expects an array or vector of values and generates a vector on demans. =end class Fathom::DataNode < Fathom::Node - include NumericMethods + include Fathom::NumericMethods def initialize(opts={}) super(opts) raise ArgumentError, "Must provided values: DataNode.new(:values => [...])" unless self.values end