188件ヒット
[1-100件を表示]
(0.119秒)
ライブラリ
- ビルトイン (8)
-
cgi
/ html (48) - erb (12)
- getoptlong (36)
-
net
/ pop (12) - rake (24)
-
rdoc
/ markup (12) -
rdoc
/ top _ level (36)
クラス
- ERB (12)
- Exception (8)
- GetoptLong (36)
-
Net
:: POPMail (12) -
RDoc
:: Markup (12) -
RDoc
:: TopLevel (36) -
Rake
:: InvocationChain (12) -
Rake
:: InvocationChain :: EmptyInvocationChain (12)
モジュール
-
CGI
:: HtmlExtension (48)
キーワード
- a (24)
-
add
_ word _ pair (12) - caption (24)
-
file
_ absolute _ name (12) -
file
_ relative _ name (12) -
full
_ name (12) - get (12)
-
get
_ option (12) - result (12)
-
to
_ s (24)
検索結果
先頭5件
-
Net
:: POPMail # top(lines , dest=& # 39;& # 39;) -> String (18203.0) -
メールヘッダと本文 lines 行を受信し、文字列として返します。
メールヘッダと本文 lines 行を受信し、文字列として返します。
destを渡すとそのオブジェクトにデータを書き込みますが、これは
obsolete なので使わないでください。
@param lines 本文を読みだす行数
@param dest データを書き込む先(obsoleteなので使わないでください)
@raise TimeoutError 通信がタイムアウトした場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発... -
GetoptLong
# get -> [String , String] (3205.0) -
ARGV から、次のオプションの名前と、もしあればその引数の組を取 得します。メソッドは 2 つの値を返し、1 つ目の値がオプション名 (例: --max-size) で、2 つ目がオプションの引数 (例: 20K) です。
...ない場合は、エラーとなって、以下のいずれかの例外が発生し
ます。
* GetoptLong::AmbiguousOption
* GetoptLong::InvalidOption
* GetoptLong::MissingArgument
* GetoptLong::NeedlessArgument
加えて、静粛 (quiet) フラグが有効になっていない限り、エ... -
GetoptLong
# get _ option -> [String , String] (3205.0) -
ARGV から、次のオプションの名前と、もしあればその引数の組を取 得します。メソッドは 2 つの値を返し、1 つ目の値がオプション名 (例: --max-size) で、2 つ目がオプションの引数 (例: 20K) です。
...ない場合は、エラーとなって、以下のいずれかの例外が発生し
ます。
* GetoptLong::AmbiguousOption
* GetoptLong::InvalidOption
* GetoptLong::MissingArgument
* GetoptLong::NeedlessArgument
加えて、静粛 (quiet) フラグが有効になっていない限り、エ... -
GetoptLong
# error _ message -> String | nil (3102.0) -
現在のエラーのエラーメッセージを返します。エラーが発生していな ければ、nil を返します。
現在のエラーのエラーメッセージを返します。エラーが発生していな
ければ、nil を返します。 -
RDoc
:: TopLevel # file _ absolute _ name -> String (3102.0) -
自身が管理するファイルに関する絶対パスを文字列で返します。
自身が管理するファイルに関する絶対パスを文字列で返します。 -
RDoc
:: TopLevel # file _ relative _ name -> String (3102.0) -
自身が管理するファイルに関する相対パスを文字列で返します。
自身が管理するファイルに関する相対パスを文字列で返します。 -
RDoc
:: TopLevel # full _ name -> String (3102.0) -
自身が管理するファイルの名前を返します。
自身が管理するファイルの名前を返します。 -
ERB
# result(b=TOPLEVEL _ BINDING) -> String (202.0) -
ERB を b の binding で実行し、結果の文字列を返します。
ERB を b の binding で実行し、結果の文字列を返します。
@param b eRubyスクリプトが実行されるときのbinding
//emlist[例][ruby]{
require 'erb'
erb = ERB.new("test <%= test1 %>\ntest <%= test2 %>\n")
test1 = "foo"
test2 = "bar"
puts erb.result
# test foo
# test bar
//}ERB を b の binding で実行し、結果の文字列を返します。
@param b eRubyスクリプトが実行されるときのbinding
//emlist[例][ruby]{
require 'erb'
erb = ERB.new("test <%= test1 %>\ntest <%= test2 %>\n")
test1 = "foo"
test2 = "bar"
puts erb.result
# test foo
# test bar
//}
@see ERB#result_with_hash -
Exception
# full _ message(highlight: true , order: :bottom) -> String (120.0) -
例外の整形された文字列を返します。
...@param order :top か :bottom で指定する必要があります。
バックトレースの一番奥がエラーメッセージの上(top)か下(bottom)かを指定します。
デフォルト値は Exception.to_tty? が真なら :bottom で偽なら :top です。
//e...