lib/fakeit/app/app.rb in fakeit-0.4.2 vs lib/fakeit/app/app.rb in fakeit-0.5.0
- old
+ new
@@ -6,10 +6,10 @@
proc do |env|
request = Rack::Request.new(env)
specification
.operation(request.request_method.downcase.to_sym, request.path_info, options)
- .then { |operation| operation ? handle(operation, request, options) : not_found }
+ .then { _1 ? handle(_1, request, options) : not_found }
end
end
private