るりまサーチ

最速Rubyリファレンスマニュアル検索!
470件ヒット [1-100件を表示] (0.047秒)
トップページ > クエリ:on[x] > クエリ:Extend[x]

別のキーワード

  1. optparse on
  2. optionparser on
  3. tracer on
  4. thread abort_on_exception
  5. thread abort_on_exception=

検索結果

<< 1 2 3 ... > >>

JSON::Ext::Generator::GeneratorMethods::String::Extend (21016.0)

Alias of JSON::Generator::GeneratorMethods::String::Extend

...Alias of JSON::Generator::GeneratorMethods::String::Extend...

JSON::Generator::GeneratorMethods::String::Extend (21000.0)

String に JSON で使用する特異メソッドを追加するためのモジュールです。

...String に JSON で使用する特異メソッドを追加するためのモジュールです。...

OpenSSL::SSL::SSLSocket#connect_nonblock -> self (12206.0)

ノンブロッキング方式で TLS/SSL 通信をクライアントモードとして開始し、 サーバとのハンドシェイクを実行します。

...る場合には IO::WaitReadable を、
書き込み可能状態を待つ必要がある場合には IO::WaitWritable を、
それぞれ extend した例外オブジェクトが生成されます。
@see OpenSSL::SSL::SSLSocket#accept_nonblock,
OpenSSL::SSL::SSLSocket#connect...

Socket#connect_nonblock(server_sockaddr) -> 0 (12206.0)

ソケットをノンブロッキングモードに設定した後、 connect(2) を呼び出します。

...定した後、
connect(2) を呼び出します。

引数、返り値は Socket#connect と同じです。

connect が EINPROGRESS エラーを報告した場合、その例外(Errno::EINPROGRESS)
には IO::WaitWritable が Object#extend されます。
これを connect_nonblock をリトライ...
...Constants
socket = Socket.new(AF_INET, SOCK_STREAM, 0)
sockaddr = Socket.sockaddr_in(80, 'www.google.com')
begin # emulate blocking connect
socket.connect_nonblock(sockaddr)
rescue IO::WaitWritable
IO.select(nil, [socket]) # wait 3-way handshake completion
begin
socket.conn...
...ect_nonblock(sockaddr) # check connection failure
rescue Errno::EISCONN
end
end
socket.write("GET / HTTP/1.0\r\n\r\n")
results = socket.read



@param server_sockaddr 接続先アドレス
@raise Errno::EXXX connect(2) がエラーを報告した場合に発生します。詳しくは...

IRB::ContextExtender.install_extend_commands -> object (12113.0)

定義済みの拡張を読み込みます。

...:Context で以下のメソッドが利用できるようになります。

* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=

irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。

@see IRB::ContextExtender.def_extend_c...

絞り込み条件を変える

IRB::ContextExtender.def_extend_command(cmd_name, load_file, *aliases) -> object (12101.0)

IRB::Context に cmd_name で指定したメソッドが実行できるように拡張 します。

...IRB::Context に cmd_name で指定したメソッドが実行できるように拡張
します。

@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要がありま...

JSON::Generator::GeneratorMethods::String::Extend.json_create(hash) -> String (12100.0)

JSON のオブジェクトから Ruby の文字列を生成して返します。

...JSON のオブジェクトから Ruby の文字列を生成して返します。

@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。

require 'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "A...

IRB::ContextExtender (12000.0)

IRB::Context を拡張するためのモジュールです。

...IRB::Context を拡張するためのモジュールです。...

IRB::ExtendCommand::Nop#irb_context -> IRB::Context (9200.0)

irb の現在の設定(IRB::Context)を返します。

...irb の現在の設定(IRB::Context)を返します。...
<< 1 2 3 ... > >>