るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.015秒)
トップページ > クエリ:off[x] > 種類:文書[x]

別のキーワード

  1. tracer off
  2. etc sc_v7_lp64_off64
  3. etc sc_v6_lp64_off64
  4. etc sc_v7_ilp32_off32
  5. etc sc_v6_ilp32_off32

キーワード

検索結果

正規表現 (55.0)

正規表現 * metachar * expansion * char * anychar * string * str * quantifier * capture * grouping * subexp * selector * anchor * cond * option * encoding * comment * free_format_mode * absenceop * list * specialvar * references

...ョンは (?on:pat) もしくは (?on-off:pat) という記法で
部分正規表現にのみ適用することができます。on、offにはi,m,xのいずれか
を置きます。onにはpatの中でのみ局所的に有効にしたいオプションを、offには
局所的に無効化したい...
...

//emlist[][ruby]{
/a(?i:b)c/.match("aBc") # => #<MatchData "aBc">
/a(?i:b)c/.match("abc") # => #<MatchData "abc">
//}

(?on) もしくは (?on-off) という形式を使うと、そこから後の
部分正規表現のみオプションを有効化することができます。

//emlist[][ruby...
...オプションを
(?on:pat)もしくは(?on)の形で指定することができます。(?on-off:pat), (?on-off)
という形式を用いる場合はonの部分にのみ用いることができます(offはできません)。
* d デフォルト(1.9.3互換)
(\w, \d, \s は、非ASCII文字...

NEWS for Ruby 2.0.0 (7.0)

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

...er.
* OpenSSL::OPENSSL_FIPS allows client applications to detect whether OpenSSL
is FIPS-enabled. OpenSSL.fips_mode= allows turning on and off FIPS mode
manually in order to adapt to situations where FIPS mode would be an
explicit requirement.
* Authenticated Encryption wit...
...olv
* 追加: Resolv::DNS#timeouts=
* 追加: Resolv::DNS::Config#timeouts=

* rexml
* REXML::Document#write はハッシュ引数をサポートしました
* REXML::Document#write は :encoding オプションをサポートしました。
XMLドキュメントのエンコ...
...うになりました
* --document オプションを追加して --rdoc, --ri オプションを置き換えました。
--no-document オプションを使ってドキュメントの生成を無効化することができます。
--document=rdoc を使うと rdoc だけを...

ruby 1.6 feature (7.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

...#! ruby -Ks
p a = "#{"表"}"
=> -:1: compile error in string expansion (SyntaxError)
-:1: unterminated string meets end of file
ruby 1.6.7 (2002-03-15) [i586-linux]
=> ruby 1.6.7 (2002-03-19) [i586-linux]
"表"

#! ruby -Ks
p...
...再定義の効果が及ばないことがある点に注意*))というか、メソッドが
再定義されたかどうかで、最適化の on/off をしてほしいなあ)

: class 定義

既にクラスが定義されていて、そのクラスと異なるスーパークラスを明示的...
...stance_method :foo
p m.bind(Bar.new).call

=> ruby 1.6.4 (2001-06-04) [i586-linux]
-:12:in `bind': first argument must be an instance of Foo (TypeError)
from -:12

=> ruby 1.6.4 (2001-08-23) [i586-linux]
:foo

: 組み込みクラスの置き換え

組み込...