るりまサーチ

最速Rubyリファレンスマニュアル検索!
276件ヒット [201-276件を表示] (0.030秒)
トップページ > クエリ:Object[x] > クエリ:OBJECT[x] > クエリ:Context[x]

別のキーワード

  1. objectspace each_object
  2. _builtin each_object
  3. object enum_for
  4. object public_send
  5. object to_enum

検索結果

<< < 1 2 3 >>

IRB::Context#last_value -> object (3202.0)

irb 中での最後の実行結果を返します。

irb 中での最後の実行結果を返します。

IRB::Context#main -> object (3202.0)

self に設定されたオブジェクトを返します。

self に設定されたオブジェクトを返します。

@see cwws コマンド

IRB::Context#set_last_value(value) -> object (3202.0)

ライブラリ内部で使用します。

ライブラリ内部で使用します。

OpenSSL::SSL::SSLContext::DEFAULT_PARAMS -> { Symbol -> object } (3202.0)

OpenSSL::SSL::SSLContext#set_params でデフォルト値として使われる パラメータです。

...OpenSSL::SSL::SSLContext#set_params でデフォルト値として使われる
パラメータです。...

OpenSSL::X509::StoreContext#trust=(trust) (3012.0)

@todo

...o

以下のいずれかの定数の値を指定します。

* OpenSSL::X509::TRUST_COMPAT
* OpenSSL::X509::TRUST_EMAIL
* OpenSSL::X509::TRUST_OBJECT_SIGN
* OpenSSL::X509::TRUST_SSL_CLIENT
* OpenSSL::X509::TRUST_SSL_SERVER
* OpenSSL::X509::TRUST_OCSP_REQUEST
* OpenSSL::X509::TRUST_OCSP_SIGN...

絞り込み条件を変える

irb (78.0)

irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。

...行なう。デフォルト値は 16。
--context-mode n 新しいワークスペースを作成した時に関連する Binding
オブジェクトの作成方法を 0 から 3 で設定する。
(IRB::Context 参照)
--single-irb irb 中で self を...
...# サブ irb を起動
irb#1(main):001:0> x # x を表示
NameError: undefined local variable or method `x' for main:Object
from (irb#1):1:in `Kernel#binding'

起動時のインタプリタでローカル変数 x を定義しましたが、
「irb」でサブ irb...
...ところが、 irb ではエラーになります。

irb(main):001:0> eval "foo"
NameError (undefined local variable or method `foo' for main:Object)
irb(main):002:0> foo = 0

この違いは、Ruby スクリプト と irb の構文解析のタイミングの差に起因します。 Ruby は...

NEWS for Ruby 3.0.0 (72.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...aluated code. 4352 17419
* ConditionVariable
* ConditionVariable#wait may now invoke the `block`/`unblock` scheduler hooks in a non-blocking context. 16786
* Dir
* Dir.glob and Dir.[] now sort the results by default, and accept the `sort:` keyword option. 8709
* ENV
* ENV.except h...
...s a symbol. 17314

//emlist[][ruby]{
class C; end
module M1; end
module M2; end
C.include M1
M1.include M2
p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject]
//}

* Mutex
* `Mutex` is now acquired per-`Fiber` instead of per-`Thread`. This change should be compatible for essentially all...
...ingScanner 3.0.0
* This version is Ractor compatible.

== Compatibility issues

Excluding feature bug fixes.

* Regexp literals and all Range objects are frozen. 8948 16377 15504

//emlist[][ruby]{
/foo/.frozen? #=> true
(42...).frozen? # => true
//}

* EXPERIMENTAL: Hash#each consistently y...

net/smtp (24.0)

メールを送信するためのプロトコル SMTP (Simple Mail Transfer Protocol) を扱うライブラリです。

...自動的にやってくれる
のでおすすめです。

require 'net/smtp'
Net::SMTP.start( 'smtp.example.com', 25 ) {|smtp|
# use smtp object only in this block
}

smtp-server.example.com は適切な SMTP サーバのアドレスに読みかえてください。
通常は LAN の管...
...et::SMTP.new('smtp.example.com', 25)
# SSLのコンテキストを作成してSSLの設定をし、context に代入しておく
# TLSを常に使うようにする
smtp.enable_starttls(context)
smtp.start() do
# send messages ...
end

TLS を使用したい場合は enable_tls を使...
<< < 1 2 3 >>