lib/analyst/entities/method_call.rb in analyst-1.2.2 vs lib/analyst/entities/method_call.rb in analyst-1.2.3
- old
+ new
@@ -14,9 +14,13 @@
def arguments
@arguments ||= process_nodes(ast.children[2..-1])
end
+ def scope
+ @scope ||= process_node(ast.children.first)
+ end
+
private
def contents
(arguments + [target]).compact
end