lib/fasterer/method_call.rb in fasterer-0.8.3 vs lib/fasterer/method_call.rb in fasterer-0.9.0
- old
+ new
@@ -27,10 +27,10 @@
def receiver_element
call_element[1]
end
def arguments_element
- call_element[3..-1] || []
+ call_element.sexp_body(3) || []
end
def lambda_literal?
call_element.sexp_type == :lambda
end