lib/conceptql/nodes/pass_thru.rb in conceptql-0.0.9 vs lib/conceptql/nodes/pass_thru.rb in conceptql-0.1.0
- old
+ new
@@ -2,10 +2,10 @@
module ConceptQL
module Nodes
class PassThru < Node
def types
- values.map(&:types).flatten.uniq
+ children.map(&:types).flatten.uniq
end
end
end
end