ライブラリ
-
cgi
/ html (2) - logger (1)
-
minitest
/ unit (1) - mkmf (1)
-
net
/ telnet (2) - pp (3)
- psych (2)
- rake (3)
- ripper (1)
-
ripper
/ filter (1) -
ripper
/ lexer (3) -
rubygems
/ installer (1) -
rubygems
/ package / tar _ input (1) -
rubygems
/ requirement (1)
クラス
-
Gem
:: Installer (1) -
Gem
:: Package :: TarInput (1) -
Gem
:: Requirement (1) -
Logger
:: Application (1) -
Net
:: Telnet (2) - Object (3)
-
Psych
:: Nodes :: Mapping (2) -
Rake
:: Application (3) - Ripper (1)
-
Ripper
:: Filter (1) -
Ripper
:: Lexer (3)
モジュール
-
CGI
:: HtmlExtension (2) - Kernel (1)
-
MiniTest
:: Assertions (1)
キーワード
- anchor (1)
-
app
_ script _ text (1) - appname (1)
-
cpp
_ command (1) - filename (2)
- form (2)
- lex (1)
- login (2)
-
mu
_ pp (1) - name (1)
-
original
_ dir (1) - parse (1)
-
pretty
_ inspect (1) -
pretty
_ print (1) -
pretty
_ print _ inspect (1) -
pretty
_ print _ instance _ variables (1) - rakefile (1)
- tag (1)
- tokenize (1)
-
zipped
_ stream (1)
検索結果
先頭5件
-
Logger
:: Application # appname -> String (27607.0) -
アプリケーション名を取得します。
アプリケーション名を取得します。 -
Object
# pretty _ inspect -> String (24355.0) -
self を pp で表示したときの結果を文字列として返します。
self を pp で表示したときの結果を文字列として返します。 -
Object
# pretty _ print _ instance _ variables -> [String | Symbol] (24325.0) -
プリティプリント時に表示すべき自身のインスタンス変数名の配列をソートして返します。 返されたインスタンス変数はプリティプリント時に表示されます。
プリティプリント時に表示すべき自身のインスタンス変数名の配列をソートして返します。
返されたインスタンス変数はプリティプリント時に表示されます。
pp に表示したくないインスタンス変数がある場合にこのメソッドを再定義します。 -
Object
# pretty _ print _ inspect -> String (24307.0) -
Object#pretty_print を使って Object#inspect と同様に オブジェクトを人間が読める形式に変換した文字列を返します。
Object#pretty_print を使って Object#inspect と同様に
オブジェクトを人間が読める形式に変換した文字列を返します。
出力する全てのオブジェクトに Object#pretty_print が定義されている必要があります。
そうでない場合には RuntimeError が発生します。
@raise RuntimeError 出力する全てのオブジェクトに Object#pretty_print が定義されて
いない場合に発生します。 -
MiniTest
:: Assertions # mu _ pp(object) -> String (18610.0) -
Object#inspect した結果のエンコーディングを変更して返します。
Object#inspect した結果のエンコーディングを変更して返します。
エンコーディングは Encoding.default_external に変更されます。
@param object 任意のオブジェクトを指定します。 -
Gem
:: Installer # app _ script _ text -> String (18607.0) -
アプリケーションのための実行ファイルの雛形のテキストを返します。
アプリケーションのための実行ファイルの雛形のテキストを返します。 -
Kernel
# cpp _ command(outfile , opt = "") -> String (18607.0) -
実際にプリプロセッサを実行する際に使用するコマンドを返します。
実際にプリプロセッサを実行する際に使用するコマンドを返します。
@param outfile 出力ファイルの名前を指定します。
@param opt プリプロセッサに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand -
Gem
:: Package :: TarInput # zipped _ stream(entry) -> StringIO (18604.0) -
与えられた entry の圧縮したままの StringIO を返します。
与えられた entry の圧縮したままの StringIO を返します。
@param entry エントリを指定します。 -
Psych
:: Nodes :: Mapping # anchor -> String|nil (9307.0) -
mapping に付加された anchor を返します。
mapping に付加された anchor を返します。
@see Psych::Nodes::Mapping#anchor=,
Psych::Nodes::Mapping.new -
Psych
:: Nodes :: Mapping # tag -> String|nil (9307.0) -
mapping に付加された tag を返します。
mapping に付加された tag を返します。
@see Psych::Nodes::Mapping#tag=,
Psych::Nodes::Mapping.new -
Rake
:: Application # name -> String (9307.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//} -
Rake
:: Application # original _ dir -> String (9307.0) -
rake コマンドを実行したディレクトリを返します。
rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//} -
Rake
:: Application # rakefile -> String (9307.0) -
実際に使用されている Rakefile の名前を返します。
実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//} -
Ripper
# filename -> String (9307.0) -
自身の持つ Ruby プログラムのファイル名を文字列で返します。
自身の持つ Ruby プログラムのファイル名を文字列で返します。 -
Ripper
:: Filter # filename -> String (9307.0) -
Ruby プログラムのファイル名を文字列で返します。
Ruby プログラムのファイル名を文字列で返します。 -
Ripper
:: Lexer # lex -> [[Integer , Integer] , Symbol , String] (9307.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
ライブラリ内部で使用します。 Ripper.lex を使用してください。 -
Ripper
:: Lexer # parse -> [[Integer , Integer] , Symbol , String] (9307.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た だし Ripper::Lexer#lex と違い、結果をソートしません。
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。た
だし Ripper::Lexer#lex と違い、結果をソートしません。
ライブラリ内部で使用します。 -
Ripper
:: Lexer # tokenize -> [String] (9307.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
ライブラリ内部で使用します。 Ripper.tokenize を使用してください。 -
CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") -> String (730.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param method method 属性の値として "get" か "post" を指定します。
@param action action 属性の値を指定します。デフォルトは現在の CGI スクリプト名です。
@param enctype enctype 属性の値を指定します。デフォルトは "application/x-www-form-urlencoded" です。
例:
form{ "string" }
# <FORM METHOD="post" ENCTYPE="app... -
CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") { . . . } -> String (730.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param method method 属性の値として "get" か "post" を指定します。
@param action action 属性の値を指定します。デフォルトは現在の CGI スクリプト名です。
@param enctype enctype 属性の値を指定します。デフォルトは "application/x-www-form-urlencoded" です。
例:
form{ "string" }
# <FORM METHOD="post" ENCTYPE="app... -
Gem
:: Requirement # pretty _ print(pp) -> String (730.0) -
わかりやすい形で、条件を表す文字列を返します。 pp メソッドで出力する際に、内部で用いられます。
わかりやすい形で、条件を表す文字列を返します。
pp メソッドで出力する際に、内部で用いられます。
@param PP :PP オブジェクトを指定します。
//emlist[][ruby]{
require 'pp'
req = Gem::Requirement.new(["< 5.0", ">= 1.9"])
pp req # => Gem::Requirement.new(["< 5.0", ">= 1.9"])
//} -
Net
:: Telnet # login(opts , password=nil) -> String (328.0) -
指定したユーザ名とパスワードでログインします。
指定したユーザ名とパスワードでログインします。
opts が文字列である場合は、 それをユーザ名、passwordをパスワードと
してログインします。
opts がハッシュである場合には、"Name" と "Password" をキーとする文字列を
ユーザ名、パスワードとしてログインします。
また、opts がハッシュの場合には以下のオプションが利用できます。
"LoginPrompt" ログインプロンプトを正規表現で指定します。
デフォルト値は /[Ll]ogin[: ]*\z/n です。
"PasswordPrompt" パスワード入力プロンプトを正規表現で指定します。
デフォルト値... -
Net
:: Telnet # login(opts , password=nil) {|mesg| . . . } -> String (328.0) -
指定したユーザ名とパスワードでログインします。
指定したユーザ名とパスワードでログインします。
opts が文字列である場合は、 それをユーザ名、passwordをパスワードと
してログインします。
opts がハッシュである場合には、"Name" と "Password" をキーとする文字列を
ユーザ名、パスワードとしてログインします。
また、opts がハッシュの場合には以下のオプションが利用できます。
"LoginPrompt" ログインプロンプトを正規表現で指定します。
デフォルト値は /[Ll]ogin[: ]*\z/n です。
"PasswordPrompt" パスワード入力プロンプトを正規表現で指定します。
デフォルト値...