るりまサーチ

最速Rubyリファレンスマニュアル検索!
429件ヒット [401-429件を表示] (0.025秒)
トップページ > クエリ:IO[x] > クエリ:DESCRIPTION[x] > 種類:インスタンスメソッド[x]

別のキーワード

  1. io popen
  2. io pipe
  3. io each_line
  4. io each
  5. io readlines

検索結果

<< < ... 3 4 5 >>

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

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

...arse"

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", "...

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...
<< < ... 3 4 5 >>