77件ヒット
[1-77件を表示]
(0.066秒)
種類
- 特異メソッド (44)
- インスタンスメソッド (33)
ライブラリ
- ビルトイン (11)
-
rdoc
/ context (22) -
rdoc
/ generator / json _ index (11) -
rexml
/ document (33)
クラス
- Object (11)
-
RDoc
:: Context :: Section (22) -
RDoc
:: Generator :: JsonIndex (11) -
REXML
:: Attribute (11) -
REXML
:: Element (11) -
REXML
:: Parent (11)
キーワード
-
deep
_ clone (11) - new (44)
-
singleton
_ methods (11)
検索結果
先頭5件
- RDoc
:: Context :: Section # parent -> RDoc :: Context - REXML
:: Parent # deep _ clone -> REXML :: Parent - RDoc
:: Context :: Section . new(parent , title , comment) -> RDoc :: Context :: Section - Object
# singleton _ methods(inherited _ too = true) -> [Symbol] - RDoc
:: Generator :: JsonIndex . new(parent _ generator , options) -> RDoc :: Generator :: JsonIndex
-
RDoc
:: Context :: Section # parent -> RDoc :: Context (24301.0) -
自身が所属する RDoc::Context オブジェクトを返します。
...自身が所属する RDoc::Context オブジェクトを返します。... -
REXML
:: Parent # deep _ clone -> REXML :: Parent (9301.0) -
ノードを複製し、複製されたノードを返します。
ノードを複製し、複製されたノードを返します。
子ノードも複製されます。 -
RDoc
:: Context :: Section . new(parent , title , comment) -> RDoc :: Context :: Section (6407.0) -
自身を初期化します。
...自身を初期化します。
@param parent RDoc::Context オブジェクトを指定します。
@param title section のタイトルを文字列で指定します。
@param comment section のコメントを文字列で指定します。
また、section のシーケンス番号を新しく... -
Object
# singleton _ methods(inherited _ too = true) -> [Symbol] (6254.0) -
そのオブジェクトに対して定義されている特異メソッド名 (public あるいは protected メソッド) の一覧を返します。
...。
singleton_methods(false) は、Object#methods(false) と同じです。
@param inherited_too 継承した特異メソッドを含める場合は真を、
そうでない場合は偽を指定します。
//emlist[例1][ruby]{
Parent = Class.new
class <<Parent
private;......def private_class_parent() end
protected; def protected_class_parent() end
public; def public_class_parent() end
end
Foo = Class.new(Parent)
class <<Foo
private; def private_class_foo() end
protected; def protected_class_foo() end
public; def public_class_foo() end
end
module B......ている。
p obj.singleton_methods(true)
p Foo.singleton_methods(true) - Object.singleton_methods(true)
#実行結果
[:protected_self, :public_self, :protected_bar, :public_bar]
[:protected_class_foo, :public_class_foo, :protected_class_parent, :public_class_parent]
//}
@see Object#methods,Ob... -
RDoc
:: Generator :: JsonIndex . new(parent _ generator , options) -> RDoc :: Generator :: JsonIndex (3413.0) -
RDoc::Generator::JsonIndex オブジェクトを初期化します。
...RDoc::Generator::JsonIndex オブジェクトを初期化します。
@param parent_generator 親となるジェネレータオブジェクトを指定します。
RDoc::Generator::JsonIndex#class_dir や
#file_dir を決めるのに使用します......のジェネレータとは異なり、RDoc::Store
オブジェクトではない点に注意してください。
@param options RDoc::Options オブジェクトを指定します。
parent_generator に渡されたものと同じものを指定します。... -
REXML
:: Attribute . new(attribute _ to _ clone , parent = nil) -> REXML :: Attribute (332.0) -
新たな属性オブジェクトを生成します。
...す。
parent で新たに作られる属性オブジェクトが属する
要素が指定できます。
parent を省略した場合は複製元と同じ要素の属するように
設定されます。
また、属性名とその値を文字列で指定することもできます。
parent で......クトが属する
要素が指定できます。
parent を省略した場合は nil が設定されます。
通常はこのメソッドは直接は使わず、REXML::Element#add_attribute などを
使うでしょう。
@param attribute_to_clone 複製元の REXML::Attribute オブジェクト......@param attribute 属性名
@param value 属性の値
@param parent 生成される属性が所属する要素(REXML::Element)... -
REXML
:: Element . new(arg = UNDEFINED , parent = nil , context = nil) -> REXML :: Element (319.0) -
要素オブジェクトを生成します。
...。
arg が REXML::Element オブジェクトの場合は、
新たな要素の名前、属性、context が arg のもので初期化されます。
parent で親ノードを指定します。
context には hash table で要素のコンテキストを指定します。
基本的には text node......一切変換されません。
REXML::Element#raw も参照してください。
@param arg 要素の名前(String)もしくは初期化に使う REXML::Element
オブジェクト
@param parent 親ノード
@param context コンテキスト(Hash)
@see REXML::Parent.new, REXML::Child.new...