るりまサーチ

最速Rubyリファレンスマニュアル検索!
4442件ヒット [101-200件を表示] (0.043秒)

別のキーワード

  1. bigdecimal mode
  2. openssl fips_mode=
  3. bigdecimal round_mode
  4. readline vi_editing_mode
  5. readline emacs_editing_mode

ライブラリ

キーワード

検索結果

<< < 1 2 3 4 ... > >>

Net::HTTP#verify_mode=(mode) (6208.0)

検証モードを設定します。

...検証モードを設定します。

詳しくは OpenSSL::SSL::SSLContext#verify_mode を見てください。
クライアント側なので、
OpenSSL::SSL::VERIFY_NONE か OpenSSL::SSL::VERIFY_PEER
のいずれかを用います。

デフォルトは nil で、VERIFY_NONE を意味します。...

Net::Telnet#binmode(mode=nil) -> bool (6207.0)

引数を指定しない場合には"Binmode"の値を返します。 引数を与えた場合は"Binmode"の値を変更します。

...引数を指定しない場合には"Binmode"の値を返します。
引数を与えた場合は"Binmode"の値を変更します。

これは改行文字の変換をするかどうかを意味します。


@param mode 設定する値をtrue/falseで与えます
@see Net::Telnet.new...

Net::Telnet#binmode=(mode) (6207.0)

"Binmode" を設定します。これは改行文字の変換をするかどうかを意味します。

..."Binmode" を設定します。これは改行文字の変換をするかどうかを意味します。

@param mode 設定する値をtrue/falseで与えます
@see Net::Telnet.new, Net::Telnet#binmode...

Net::Telnet#telnetmode=(mode) (6207.0)

"Telnetmode" を設定します。これは telnet の特殊なバイト列を解釈するかどうかを 意味します。

..."Telnetmode" を設定します。これは telnet の特殊なバイト列を解釈するかどうかを
意味します。

@param mode 設定する値を真偽値で与えます
@see Net::Telnet#new...

Net::Telnet#telnetmode(mode=nil) -> bool|() (6201.0)

引数を指定しない場合には"Telnetmode"の値を返します。 引数を与えた場合は"Telnetmode"の値を変更します。

...引数を指定しない場合には"Telnetmode"の値を返します。
引数を与えた場合は"Telnetmode"の値を変更します。

これは telnet の特殊なバイト列を解釈するかどうかを
意味します。

@see Net::Telnet.new...

絞り込み条件を変える

IRB::Context#math_mode=(opt) (6147.0)

math_mode を有効にするかどうかを指定します。

...math_mode を有効にするかどうかを指定します。

.irbrc ファイル中で IRB.conf[:MATH_MODE] を設定する事でも同様の事が行え
ます。

mathn ライブラリを include するため、math_mode を有効にした後は
無効にする事ができません。

@param o...
...pt math_mode を有効にする場合に true を指定します。

@raise IRB::CantReturnToNormalMode 既に math_mode の状態で opt に
false か nil を指定した場合に発生します。

@see IRB::Context#math_mode...

JSON::State#quirks_mode=(enable) (6133.0)

If set to true, enables the quirks_mode mode.

...If set to true, enables the quirks_mode mode....

ARGF.class#inplace_mode -> String | nil (6125.0)

c:ARGF#inplace で書き換えるファイルのバックアップに付加される拡 張子を返します。拡張子が設定されていない場合は空文字列を返します。イン プレースモードでない場合は nil を返します。

...動時の -i オプション や ARGF.class#inplace_mode= で設定します。

例:
# $ echo "test" > test.txt
# $ ruby -i.bak test.rb test.txt
# $ cat test.txt # => "TEST"
# $ cat test.txt.bak # => "test"

# test.rb
ARGF.inplace_mode # => ".bak"
ARGF.each_line {|e|...
...print e.upcase} # => "TEST"

例:
# $ echo "test" > test.txt
# $ ruby test.rb test.txt
# $ cat test.txt # => "test"

# test.rb
ARGF.inplace_mode # => nil
ARGF.each_line {|e|print e.upcase} # => "TEST"

@see d:spec/rubycmd#cmd_option, ARGF.class#inplace_mode=...

JSON::State#quirks_mode -> bool (6118.0)

Returns true, if quirks mode is enabled. Otherwise returns false.

...Returns true, if quirks mode is enabled. Otherwise returns false....

JSON::State#quirks_mode? -> bool (6118.0)

Returns true, if quirks mode is enabled. Otherwise returns false.

...Returns true, if quirks mode is enabled. Otherwise returns false....

絞り込み条件を変える

BigDecimal#save_exception_mode { ... } -> object (6117.0)

例外処理に関する BigDecimal.mode の設定を保存してブロックを評価し ます。ブロック中で変更した設定はブロックの評価後に復元されます。

...例外処理に関する BigDecimal.mode の設定を保存してブロックを評価し
ます。ブロック中で変更した設定はブロックの評価後に復元されます。

ブロックの評価結果を返します。...

BigDecimal#save_rounding_mode { ... } -> object (6117.0)

丸め処理に関する BigDecimal.mode の設定を保存してブロックを評価します。 ブロック中で変更した設定はブロックの評価後に復元されます。

...丸め処理に関する BigDecimal.mode の設定を保存してブロックを評価します。
ブロック中で変更した設定はブロックの評価後に復元されます。

ブロックの評価結果を返します。...

ARGF.class#inplace_mode=(ext) (6113.0)

c:ARGF#inplace時にバックアップファイルに付加する拡張子を設定します。 ピリオドも含めて指定する必要があります。

...$ ruby argf.rb file.txt

---- argf.rb ----
# 引数のファイル中の各行の最初の "foo" を "bar" で置き換える
ARGF.inplace_mode = '.bak'
ARGF.lines do |line|
print line.sub("foo","bar")
end


---- -i オプションを使う場合 ----
$ ruby -i.bak -p -e '$_.sub...
...!("foo","bar")' file.txt

---- -i オプションを使う場合その2 ----
$ ruby -i.bak -n -e 'print $_.sub("foo","bar")' file.txt

@see d:spec/rubycmd#cmd_option, ARGF.class#inplace_mode...
<< < 1 2 3 4 ... > >>