method
initialize_with_stdinput
v2.1.0 -
Show latest stable
- Class:
ActionController::CgiExt::Stdinput
initialize_with_stdinput(type = nil, stdinput = $stdin)public
No documentation available.
# File actionpack/lib/action_controller/cgi_ext/stdinput.rb, line 17
def initialize_with_stdinput(type = nil, stdinput = $stdin)
@stdinput = stdinput
@stdinput.set_encoding(Encoding::BINARY) if @stdinput.respond_to?(:set_encoding)
initialize_without_stdinput(type || 'query')
end