172件ヒット
[1-100件を表示]
(0.151秒)
ライブラリ
- ビルトイン (7)
-
cgi
/ html (44) - erb (11)
- getoptlong (33)
-
net
/ pop (11) - rake (22)
-
rdoc
/ markup (11) -
rdoc
/ top _ level (33)
クラス
- ERB (11)
- Exception (7)
- GetoptLong (33)
-
Net
:: POPMail (11) -
RDoc
:: Markup (11) -
RDoc
:: TopLevel (33) -
Rake
:: InvocationChain (11) -
Rake
:: InvocationChain :: EmptyInvocationChain (11)
モジュール
-
CGI
:: HtmlExtension (44)
キーワード
- a (22)
-
add
_ word _ pair (11) -
file
_ absolute _ name (11) -
file
_ relative _ name (11) -
full
_ name (11) - get (11)
-
get
_ option (11) - result (11)
-
to
_ s (22)
検索結果
先頭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... -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (118.0) -
'TOP' という文字列を返します。
...'TOP' という文字列を返します。...