lib/fasterer/method_call.rb in fasterer-0.8.0 vs lib/fasterer/method_call.rb in fasterer-0.8.1
- old
+ new
@@ -30,9 +30,13 @@
def arguments_element
call_element[3..-1] || []
end
+ def lambda_literal?
+ call_element.sexp_type == :lambda
+ end
+
private
attr_reader :call_element
# TODO: explanation
def set_call_element