fathom 0.3.6 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/fathom/node/data_node.rb +1 -1
- data/lib/fathom/node/mc_node.rb +1 -1
- data/lib/fathom/node.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.7
|
data/lib/fathom/node/mc_node.rb
CHANGED
@@ -55,7 +55,7 @@ class Fathom::MCNode < Fathom::Node
|
|
55
55
|
# Assumes the same value description for all samples taken
|
56
56
|
def assert_nodes
|
57
57
|
@samples.each do |key, values|
|
58
|
-
node = DataNode.new(:name => key, :values => values)
|
58
|
+
node = Fathom::DataNode.new(:name => key, :values => values)
|
59
59
|
add_child(node)
|
60
60
|
# self.class.define_summary_method(key)
|
61
61
|
end
|
data/lib/fathom/node.rb
CHANGED
@@ -91,7 +91,7 @@ class Fathom::Node
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def add_accessor_for_node(node)
|
94
|
-
return false unless node.
|
94
|
+
return false unless node.respond_to?(:name_sym) and node.name_sym
|
95
95
|
return false if self.respond_to?(node.name_sym)
|
96
96
|
(class << self; self; end).module_eval do
|
97
97
|
define_method node.name_sym do
|
metadata
CHANGED