lib/httpx/extensions.rb in httpx-0.8.2 vs lib/httpx/extensions.rb in httpx-0.9.0
- old
+ new
@@ -9,10 +9,10 @@
#
# Ruby 2.1 and lower implement curry only for Procs.
#
# Why not using Refinements? Because they don't work for Method (tested with ruby 2.1.9).
#
- module CurryMethods # :nodoc:
+ module CurryMethods
# Backport for the Method#curry method, which is part of ruby core since 2.2 .
#
def curry(*args)
to_proc.curry(*args)
end