るりまサーチ

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

別のキーワード

  1. options special
  2. markup add_special
  3. rake special_return
  4. rdoc/options special
  5. rdoc/markup add_special

検索結果

<< 1 2 > >>

int SPECIAL_CONST_P(VALUE obj) (26100.0)

obj が実体の構造体を持たないとき真。 現時点で真になるのは Qnil, Qtrue, Qfalse と、 Fixnum, Symbol のインスタンス。

obj が実体の構造体を持たないとき真。
現時点で真になるのは Qnil, Qtrue, Qfalse と、
Fixnum, Symbol のインスタンス。

RDoc::Options::SPECIAL -> [String] (18101.0)

--write-options を指定した際に .rdoc_options ファイルに保存されないオプ ションの一覧を返します。

--write-options を指定した際に .rdoc_options ファイルに保存されないオプ
ションの一覧を返します。

RDoc::Markup#add_special(pattern, name) -> () (6131.0)

pattern で指定した正規表現にマッチする文字列をフォーマットの対象にしま す。

...'rdoc/markup/simple_markup/to_html'

class WikiHtml < SM::ToHtml
def handle_special_WIKIWORD(special)
"<font color=red>" + special.text + "</font>"
end
end

m = SM::SimpleMarkup.new
m.add_special(/\b([A-Z][a-z]+[A-Z]\w+)/, :WIKIWORD)

h = WikiHtml.new
puts m.convert(input_...
...string, h)

変換時に実際にフォーマットを行うには SM::ToHtml#accept_special_<name で指定した名前>
のように、フォーマッタ側でも操作を行う必要があります。...

Rake::FileList::SPECIAL_RETURN -> Array (6101.0)

Array のインスタンスを返すので委譲した後にラップする必要があるメソッドのリストです。

Array のインスタンスを返すので委譲した後にラップする必要があるメソッドのリストです。

static void special_local_set(char c, VALUE val) (6100.0)

$~ と $_ をセットします。 現在は c=0 が $_ で c=1 が $~ です。

$~ と $_ をセットします。
現在は c=0 が $_ で c=1 が $~ です。

絞り込み条件を変える

RDoc::Markup (24.0)

RDoc 形式のドキュメントを目的の形式に変換するためのクラスです。

...arkup/to_html'

class WikiHtml < RDoc::Markup::ToHtml
# WikiWord のフォントを赤く表示。
def handle_special_WIKIWORD(special)
"<font color=red>" + special.text + "</font>"
end
end

m = RDoc::Markup.new
# { 〜 } までを :STRIKE でフォーマットする。
m...
..., "}", :STRIKE)
# <no> 〜 </no> までを :STRIKE でフォーマットする。
m.add_html("no", :STRIKE)

# WikiWord を追加。
m.add_special(/\b([A-Z][a-z]+[A-Z]\w+)/, :WIKIWORD)

wh = WikiHtml.new(m)
# :STRIKE のフォーマットを <strike> 〜 </strike> に指定。
wh.add_t...

1.6.8から1.8.0への変更点(まとめ) (18.0)

1.6.8から1.8.0への変更点(まとめ) * ((<1.6.8から1.8.0への変更点(まとめ)/インタプリタの変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたクラス/モジュール>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたメソッド>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加された定数>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張されたクラス/メソッド(互換性のある変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/変更されたクラス/メソッド(互換性のない変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/文法の変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/正規表現>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Marshal>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Windows 対応>)) * ((<1.6.8から1.8.0への変更点(まとめ)/廃止された(される予定の)機能>)) * ((<1.6.8から1.8.0への変更点(まとめ)/ライブラリ>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張ライブラリAPI>)) * ((<1.6.8から1.8.0への変更点(まとめ)/バグ修正>)) * ((<1.6.8から1.8.0への変更点(まとめ)/サポートプラットフォームの追加>))

...重代入 [change]

多重代入の規則を見直しました。

# # derived from sample/test.rb
# a = *[]; p a # special case
# def f; yield; end; f {|a| p a} # add (warning)
# def r; return; end; a = r(); p a
# a = nil; p a
# def f; yield nil; e...
...*[1]]; end; a = r(); p a
# a = *[*[1,2]]; p a
# def r; return *[*[1,2]]; end; a = r(); p a
#
# *a = *[]; p a # special case
# def f; yield; end; f {|*a| p a}
# def r; return; end; *a = r(); p a
# *a = nil; p a
# def f; yield nil; end; f {|*a| p a}
# def...
...# def f; yield *[*[1,2]]; end; f {|*a| p a}
# def r; return *[*[1,2]]; end; *a = r(); p a
#
# a,b,*c = *[]; p [a,b,c] # special case
# def f; yield; end; f {|a,b,*c| p [a,b,c]}
# def r; return; end; a,b,*c = r(); p [a,b,c]
# a,b,*c = nil; p [a,b,c]
# def f; yield ni...

Module#ruby2_keywords(method_name, ...) -> nil (16.0)

For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.

...ywords or a
keyword splat. It marks the method such that if the method is called
with keyword arguments, the final hash argument is marked with a special
flag such that if it is the final element of a normal argument splat to
another method call, and that method call does not include explicit
keywo...

Proc#ruby2_keywords -> proc (16.0)

Marks the proc as passing keywords through a normal argument splat. This should only be called on procs that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the proc such that if the proc is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the proc to other methods.

...t keywords or a keyword splat. It marks the proc such
that if the proc is called with keyword arguments, the final hash
argument is marked with a special flag such that if it is the final
element of a normal argument splat to another method call, and that
method call does not include explicit keywo...

int BUILTIN_TYPE(VALUE obj) (16.0)

obj の構造体型 ID を返します。 SPECIAL_CONST_P(obj) が真のオブジェクトに対して使うと落ちます。

...obj の構造体型 ID を返します。
SPECIAL
_CONST_P(obj) が真のオブジェクトに対して使うと落ちます。...

絞り込み条件を変える

Array#bsearch -> Enumerator (6.0)

ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値を二分探 索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返し ます。self はあらかじめソートしておく必要があります。

...merator のインスタンスを返します。

@raise TypeError ブロックの評価結果が true、false、nil、数値以外であっ
た場合に発生します。

@see Array#bsearch_index, Range#bsearch, https://magazine.rubyist.net/articles/0041/0041-200Special-note.html...
<< 1 2 > >>