Method: Webmachine::Streaming::CallableEncoder#to_proc
- Defined in:
- lib/webmachine/streaming/callable_encoder.rb
#to_proc ⇒ Proc
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Converts this encoder into a Proc.
16 17 18 |
# File 'lib/webmachine/streaming/callable_encoder.rb', line 16 def to_proc method(:call).to_proc end |