ライブラリ
- ビルトイン (67)
-
cgi
/ html (36) - e2mmap (30)
- ipaddr (24)
-
irb
/ context (12) -
irb
/ output-method (24) - logger (2)
- mkmf (12)
-
net
/ ftp (10) -
net
/ http (12) -
net
/ imap (12) -
net
/ telnet (4) - pp (12)
- prime (48)
- psych (120)
- rake (60)
-
rexml
/ sax2listener (12) - ripper (48)
-
ripper
/ filter (24) -
rubygems
/ package / tar _ input (12) - shell (6)
-
shell
/ builtin-command (12) -
shell
/ command-processor (6) -
shell
/ filter (6) - socket (12)
-
webrick
/ httputils (12)
クラス
- Addrinfo (12)
- Array (16)
-
Gem
:: Package :: TarInput (12) - IPAddr (24)
-
IRB
:: Context (12) -
IRB
:: OutputMethod (24) -
Logger
:: Application (2) - Method (14)
- Module (12)
-
Net
:: FTP :: MLSxEntry (10) -
Net
:: HTTP (12) -
Net
:: IMAP (12) -
Net
:: Telnet (4) - PP (12)
- Prime (24)
-
Prime
:: PseudoPrimeGenerator (24) -
Process
:: Status (12) -
Psych
:: Handler (24) -
Psych
:: Nodes :: Mapping (96) -
Rake
:: Application (36) -
Rake
:: InvocationChain (12) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) - Ripper (48)
-
Ripper
:: Filter (24) - Shell (6)
-
Shell
:: AppendFile (6) -
Shell
:: AppendIO (6) -
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - String (1)
-
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
CGI
:: HtmlExtension (24) -
CGI
:: TagMaker (12) - Enumerable (12)
- Exception2MessageMapper (30)
- Kernel (12)
-
REXML
:: SAX2Listener (12)
キーワード
- << (7)
- >> (7)
- Fail (6)
- Raise (6)
-
add
_ loader (12) - anchor (12)
- anchor= (12)
- append (62)
-
append
_ as _ bytes (1) -
append
_ data (12) -
append
_ features (12) - appendable? (10)
- bind (6)
- chunk (12)
-
cpp
_ command (12) -
def
_ exception (6) - each (24)
- encoding (12)
-
end
_ mapping (12) -
end
_ prefix _ mapping (12) -
end
_ seen? (12) - form (24)
- implicit (12)
- implicit= (12)
- input= (12)
-
inspect
_ mode= (12) -
ipv4
_ mapped (12) -
ipv4
_ mapped? (12) -
ipv6
_ v4mapped? (12) -
load
_ rakefile (12) - log= (1)
- login (4)
-
nOE
_ element _ def (12) -
on
_ XXX (12) -
on
_ default (12) -
original
_ dir (12) - ppx (12)
- proppatch (12)
- push (8)
- seplist (12)
-
set
_ log (1) -
start
_ mapping (12) - stopped? (12)
- style (12)
- style= (12)
- tag (12)
- tag= (12)
-
upper
_ bound (12) -
upper
_ bound= (12) - yydebug (12)
- yydebug= (12)
-
zipped
_ stream (12)
検索結果
先頭5件
-
Psych
:: Handler # end _ mapping -> () (12201.0) -
mapping の終了の見付けたときに呼び出されます。
...mapping の終了の見付けたときに呼び出されます。
必要に応じてこのメソッドを override してください。... -
REXML
:: SAX2Listener # end _ prefix _ mapping(prefix) -> () (12201.0) -
名前空間の接頭辞(prefix)の適用範囲が終了したときに 呼び出されるコールバックメソッドです。
名前空間の接頭辞(prefix)の適用範囲が終了したときに
呼び出されるコールバックメソッドです。
@param prefix 接頭辞の文字列が渡されます -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (12201.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...た場合に発生します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.append("task_b") # => LL("task_b", "task_a")
end
//}... -
Rake
:: InvocationChain :: EmptyInvocationChain # append(task _ name) -> Rake :: InvocationChain (12201.0) -
与えられた値を追加した Rake::InvocationChain を返します。
与えられた値を追加した Rake::InvocationChain を返します。
@param task_name 追加する値を指定します。 -
String
# append _ as _ bytes(*objects) -> self (12201.0) -
引数で与えたオブジェクトをバイト列として、self に破壊的に連結します。
...# => "\xE3\x81\x82"
s.encoding # => #<Encoding:BINARY (ASCII-8BIT)>
s.append_as_bytes("い") # => "\xE3\x81\x82\xE3\x81\x84"
# s << "い" では連結できない
s << "い" # => "incompatible character encodings: BINARY (ASCII-8BIT) and UTF-8 (Encoding::CompatibilityError)
//}......//emlist[引数で整数を渡す例][ruby]{
t = ""
t.append_as_bytes(0x61) # => "a"
t.append_as_bytes(0x3062) # => "ab"
//}
@see String#<<, String#concat... -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (9201.0) -
exception_name という名前の例外クラスを定義します。
...ion_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定します。
省略すると StandardError を使用します。... -
Ripper
# encoding -> Encoding (9201.0) -
自身の持つ Ruby プログラムの文字エンコーディングを返します。
...自身の持つ Ruby プログラムの文字エンコーディングを返します。
Ruby プログラムの解析前は Encoding::US_ASCII を返します。... -
Exception2MessageMapper
# bind(cl) -> () (9101.0) -
@todo
...@todo
@param cl xxx... -
Exception2MessageMapper
# def _ e2message(exception _ class , message _ format) -> Class (9101.0) -
すでに存在する例外クラス exception_class に、 エラーメッセージ用フォーマット message_format を関連づけます。
...エラーメッセージ用フォーマット message_format を関連づけます。
このフォーマットは Exception2MessageMapper#Raise,
Exception2MessageMapper#Fail で使用します。
@param exception_class メッセージを登録する例外クラスを指定します。
@param mess... -
IRB
:: OutputMethod # ppx(prefix , *objs) -> object (9101.0) -
引数 prefix + 各 obj を inspect した文字列を self に出力し、最後に改行 を出力します。
引数 prefix + 各 obj を inspect した文字列を self に出力し、最後に改行
を出力します。
@param prefix 各 obj の先頭に追記する文字列を指定します。
@param objs 任意のオブジェクトを指定します。 -
Psych
:: Handler # start _ mapping(anchor , tag , implicit , style) -> () (9101.0) -
mapping の開始を見付けたときに呼び出されます。
...mapping の開始を見付けたときに呼び出されます。
anchor には map に関連付けられた anchor の名前が文字列で渡されます。
anchor がない場合には nil が渡されます。
tag には map に関連付けられた tag の名前が文字列で渡されます......Psych::Nodes::Mapping::BLOCK
* Psych::Nodes::Mapping::FLOW
必要に応じてこのメソッドを override してください。
@param anchor 関連付けられた anchor の名前
@param tag タグ名
@param implicit mapping が implicit に開始されかどうか
@param style mapping の......して考えます。
---
k: !!map { hello: world }
v: &pewpew
hello: world
この YAML ドキュメントには3つの mapping が含まれています。
外側の map の中に 2 つの map が含まれています。
start_mapping メソッドは 順に以下の引数で呼び出さ... -
Rake
:: Application # add _ loader(ext , loader) (9101.0) -
与えられた拡張子で終わるファイル名のファイルをロードするためのローダーを 自身に追加します。
...aram loader ローダーを指定します。
//emlist[例][ruby]{
require "rake/loaders/makefile"
# Rakefile での記載例とする
task default: :test
task :test
makefile =<<-EOS
<< <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
EOS
IO.write("sample.mf", makefile)
Rake.application.add_loader("mf",......Rake::MakefileLoader.new)
Rake.application.add_import("sample.mf")
Rake::Task.task_defined?("a") # => false
Rake.application.load_imports
Rake::Task.task_defined?("a") # => true
//}...