instance method initialize_with_stdinput

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

initialize_with_stdinput(type = nil, stdinput = $stdin)

No documentation comment.

Parameters

type opt = nil
stdinput opt = $stdin
Source
# 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

Defined in actionpack/lib/action_controller/cgi_ext/stdinput.rb line 17 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::CgiExt::Stdinput

Type at least 2 characters to search.

↑↓ navigate · open · esc close