lib/rasti/web/render.rb in rasti-web-1.1.0 vs lib/rasti/web/render.rb in rasti-web-1.2.0
- old
+ new
@@ -79,10 +79,10 @@
response.headers.merge! headers
response.write body if body
end
def extract_status(args)
- args.detect { |a| a.is_a? Fixnum }
+ args.detect { |a| a.is_a? Integer }
end
def extract_headers(args)
args.detect { |a| a.is_a? Hash } || {}
end
\ No newline at end of file