るりまサーチ

最速Rubyリファレンスマニュアル検索!
186件ヒット [101-186件を表示] (0.115秒)

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils cp_r
  5. fileutils rm_r

検索結果

<< < 1 2 >>

REXML::Entity#external -> String | nil (6218.0)

実体が外部実体(external entity)宣言である場合は "SYSTEM" もしくは "PUBLIC" という文字列を返します。

...実体が外部実体(external entity)宣言である場合は
"SYSTEM" もしくは "PUBLIC" という文字列を返します。

内部実体(internal entity)宣言である場合には nil を返します。...

RDoc::Options#op_dir -> String (6208.0)

コマンドライン引数の --op オプションで指定したディレクトリを返します。

...コマンドライン引数の --op オプションで指定したディレクトリを返します。

--ri、--ri-site、--ri-system オプションにも影響される事に注意してください。

@return 設定されたディレクトリを文字列で返します。...

REXML::DocType#public -> String | nil (3220.0)

DTD の公開識別子を返します。

...

//emlist[][ruby]{
r
equire 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
doctype.system # => "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
doctype.pub...
...lic # => "-//W3C//DTD XHTML 1.0 Strict//EN"

doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE root SYSTEM "foobar">
EOS
doctype.system # => "foobar"
doctype.public # => nil
//}...

Shell::Filter#to_a -> [String] (3208.0)

実行結果を文字列の配列で返します。

...実行結果を文字列の配列で返します。

r
equire 'shell'
Shell.def_system_command("wc")
sh = Shell.new
puts sh.cat("/etc/passwd").to_a...

Shell::Filter#to_s -> String (3208.0)

実行結果を文字列で返します。

...実行結果を文字列で返します。

r
equire 'shell'
Shell.def_system_command("wc")
sh = Shell.new

sh.transact {
puts (cat("/etc/passwd") | wc("-l")).to_s
}...

絞り込み条件を変える

Shell::CommandProcessor#echo(*strings) -> Shell::Filter (3207.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...と, それらを内容とする Filter オブジェクトを返します.

@param strings シェルコマンド echo に与える引数を文字列で指定します。

動作例
r
equire 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |fi...

Shell::Filter#echo(*strings) -> Shell::Filter (3207.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...と, それらを内容とする Filter オブジェクトを返します.

@param strings シェルコマンド echo に与える引数を文字列で指定します。

動作例
r
equire 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |fi...

Shell::SystemCommand#command -> String (3203.0)

@todo

@todo

コマンド名を返します。

Shell::SystemCommand#name -> String (3203.0)

@todo

@todo

コマンド名を返します。

Shell::SystemCommand#notify(*opts) -> String (3203.0)

@todo

...@todo

@param opts

@see Shell#notify...

絞り込み条件を変える

Shell::SystemCommand#notify(*opts) {|message| ... } -> String (3203.0)

@todo

...@todo

@param opts

@see Shell#notify...

Shell#echo(*strings) -> Shell::Filter (207.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...と, それらを内容とする Filter オブジェクトを返します.

@param strings シェルコマンド echo に与える引数を文字列で指定します。

動作例
r
equire 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |fi...
<< < 1 2 >>