196件ヒット
[101-196件を表示]
(0.067秒)
ライブラリ
- ビルトイン (31)
-
drb
/ extservm (11) -
irb
/ context (11) -
irb
/ extend-command (22) - json (11)
-
rexml
/ document (44) -
rubygems
/ ext / builder (22) - uri (44)
クラス
-
DRb
:: ExtServManager (11) - File (22)
-
Gem
:: Ext :: Builder (22) -
IRB
:: Context (11) -
REXML
:: Document (11) -
REXML
:: Element (11) -
REXML
:: Text (22) -
RubyVM
:: InstructionSequence (9)
モジュール
キーワード
-
class
_ name (11) - command (11)
-
def
_ extend _ command (11) - dirname (11)
- extname (11)
- extract (44)
-
irb
_ original _ method _ name (11) -
json
_ create (11) -
load
_ from _ binary _ extra _ data (9) - new (33)
- normalize (11)
- redirector (11)
- unnormalize (11)
検索結果
先頭5件
- REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String - IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context - Gem
:: Ext :: Builder . class _ name -> String - Gem
:: Ext :: Builder . redirector -> String - IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String
-
REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String (3225.0) -
string を非正規化(すべての entity をアンエスケープ)したものを 返します。
...string を非正規化(すべての entity をアンエスケープ)したものを
返します。
filter でアンエスケープしない実体の実体名を文字列配列で指定します。
@param string 非正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@par......アンエスケープしない実体の実体名(文字列配列)
@param illegal 内部用。使わないでください。
//emlist[][ruby]{
require 'rexml/text'
REXML::Text.unnormalize("& &foobar; <") # => "& &foobar; <"
REXML::Text.unnormalize("< >", nil, ["lt"]) # => "< >"
//}... -
IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context (3107.0) -
自身を初期化します。
...ce IRB::WorkSpace オブジェクトを指定します。省略し
た場合は新しく作成されます。
@param input_method String、IRB::InputMethod のサブクラスの
オブジェクト、nil のいずれかを指定します。
@param output_method... -
Gem
:: Ext :: Builder . class _ name -> String (3102.0) -
@todo
@todo
ビルダーのクラス名を返します。 -
Gem
:: Ext :: Builder . redirector -> String (3102.0) -
@todo
@todo
'2>&1' という文字列を返します。 -
IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String (3102.0) -
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ ラリ内部で使用します。
...method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ
ラリ内部で使用します。
@param method_name メソッド名を Symbol か文字列で指定します。
@see IRB::ExtendCommandBundle#install_alias_method... -
REXML
:: Text . normalize(input , doctype = nil , entity _ filter = nil) -> String (3102.0) -
input を正規化(すべての entity をエスケープ)したものを 返します。
input を正規化(すべての entity をエスケープ)したものを
返します。
@param input 正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param entity_filter 置換したい実体の名前の配列 -
File
. dirname(filename) -> String (114.0) -
filename の一番後ろのスラッシュより前を文 字列として返します。スラッシュを含まないファイル名に対しては "."(カレントディレクトリ)を返します。
...イル名に対しては
"."(カレントディレクトリ)を返します。
//emlist[例][ruby]{
p File.dirname("dir/file.ext") # => "dir"
p File.dirname("file.ext") # => "."
//}
File.dirname の動作は dirname(3)
に従います。
//emlist[例][ruby]{
p File.dirname("foo/bar/")......# => "foo"
p File.dirname("foo//bar") # => "foo"
//}
@param filename ファイル名を表す文字列を指定します。
@see File.basename, File.extname... -
File
. dirname(filename , level=1) -> String (114.0) -
filename の一番後ろのスラッシュより前を文 字列として返します。スラッシュを含まないファイル名に対しては "."(カレントディレクトリ)を返します。
...イル名に対しては
"."(カレントディレクトリ)を返します。
//emlist[例][ruby]{
p File.dirname("dir/file.ext") # => "dir"
p File.dirname("file.ext") # => "."
//}
File.dirname の動作は dirname(3)
に従います。
//emlist[例][ruby]{
p File.dirname("foo/bar/")......File.dirname("/home/gumby/work/ruby.rb", 4) # => "/"
//}
@param filename ファイル名を表す文字列を指定します。
@param level 末尾からいくつ取り除くかを指定します。
@raise ArgumentError level が負の場合に発生します。
@see File.basename, File.extname... -
REXML
:: Document . new(source = nil , context = {}) -> REXML :: Document (107.0) -
Document オブジェクトを生成します。
...Document オブジェクトを生成します。
source には String、IO、REXML::Document のいずかが
指定できます。 REXML::Document を指定すると
コンテキストと要素、属性が複製されます。
文字列の場合はそれを XML と見なしてパースします。......IOの場合は、XML文書を読み出してパースします。
context で「コンテキスト」を指定します。テキストノードの空白や
特殊文字の取り扱いを Hash で指定します。
以下の Symbol をハッシュのキーとして使います。
: :respect_whitesp......す。
すべての要素で無視して欲しい場合は :all を指定します。
これが設定された場合、空白のみからなる text node は追加されません。
REXML::Element#ignore_whitespace_nodes も参照してください。
: :raw
raw mode で取り扱いをして... -
REXML
:: Element . new(arg = UNDEFINED , parent = nil , context = nil) -> REXML :: Element (107.0) -
要素オブジェクトを生成します。
...、
新たな要素の名前、属性、context が arg のもので初期化されます。
parent で親ノードを指定します。
context には hash table で要素のコンテキストを指定します。
基本的には text node (REXML::Text) での特別な文字、特に空白につ......す。
すべての要素で無視して欲しい場合は :all を指定します。
これが設定された場合、空白のみからなる text node は追加されません。
REXML::Element#ignore_whitespace_nodes も参照してください。
: :raw
raw mode で取り扱いをして......de においては、text 中の特殊文字は一切変換されません。
REXML::Element#raw も参照してください。
@param arg 要素の名前(String)もしくは初期化に使う REXML::Element
オブジェクト
@param parent 親ノード
@param context コンテキスト(Ha...