るりまサーチ

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

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. kernel p
  5. kernel $-p

検索結果

<< < ... 3 4 5 >>

DublinCoreModel#dc_descriptions (12201.0)

@todo

@todo

Rake::TaskManager#last_description -> String (6214.0)

Rakefile 内の最新の詳細説明を追跡するためのメソッドです。

...詳細説明を追跡するためのメソッドです。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app1

desc "test1"
task :test_rake_app1 do |task|
p
task.application.last_description # => "test2"
end

desc "test2"
task :test_rake_app2 do |task|
end
//}...

OptionParser#summarize(to = [], width = self.summary_width, max = width - 1, indent= self.summary_indent) -> () (3013.0)

サマリを指定された to へと加えていきます。

...ません。

@param to サマリを出力するオブジェクトを指定します。to には << メソッドが定義されいる必要があります。

@param width サマリの幅を整数で指定します。

@param max サマリの最大幅を整数で指定します。

@param indent サ...
...uire "optparse"

opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end

opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8, " ")
# => ["description\n", "...
...-i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}...

OptionParser#summarize(to = [], width = self.summary_width, max = width - 1, indent= self.summary_indent) {|line| ... } -> () (3013.0)

サマリを指定された to へと加えていきます。

...ません。

@param to サマリを出力するオブジェクトを指定します。to には << メソッドが定義されいる必要があります。

@param width サマリの幅を整数で指定します。

@param max サマリの最大幅を整数で指定します。

@param indent サ...
...uire "optparse"

opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end

opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8, " ")
# => ["description\n", "...
...-i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}...

Gem::Command#summary=(description) (208.0)

コマンドの短い説明をセットします。

...コマンドの短い説明をセットします。

@param description コマンドの短い説明を指定します。...

絞り込み条件を変える

Kernel#desc(description) -> String (208.0)

直後の Rake タスクの説明を登録します。

...直後の Rake タスクの説明を登録します。

@param description 直後のタスクの説明を指定します。

例:
desc "Run the Unit Tests"
task :test => [:build] do
runtests
end...

Rake::TaskManager#last_comment -> String (14.0)

Rakefile 内の最新の詳細説明を追跡するためのメソッドです。

...詳細説明を追跡するためのメソッドです。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app1

desc "test1"
task :test_rake_app1 do |task|
p
task.application.last_description # => "test2"
end

desc "test2"
task :test_rake_app2 do |task|
end
//}...
<< < ... 3 4 5 >>