lib/analyst/entities/method_call.rb in analyst-1.0.1 vs lib/analyst/entities/method_call.rb in analyst-1.2.0
- old
+ new
@@ -11,13 +11,10 @@
def full_name
name
end
def arguments
- @arguments ||= begin
- args = ast.children[2..-1]
- args.map { |arg| process_node(arg) }
- end
+ @arguments ||= process_nodes(ast.children[2..-1])
end
private
def contents