lib/analyst/entities/variable_assignment.rb in analyst-1.2.2 vs lib/analyst/entities/variable_assignment.rb in analyst-1.2.3
- old
+ new
@@ -15,13 +15,17 @@
def scope
@scope ||= process_node(ast.children.first)
end
+ def value
+ @value ||= process_nodes(ast.children)
+ end
+
private
def name_node
- ast.children[1]
+ ast.children[1].children.first
end
end
end
end