るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

REXML::Formatters::Pretty#width -> Integer (18208.0)

出力のページ幅を返します。

...出力のページ幅を返します。

デフォルトは80です。

@see REXML::Formatters::Pretty#width=...

Benchmark::Job#width -> Integer (18202.0)

Benchmark::Job#list のサイズ。

Benchmark::Job#list のサイズ。

OptionParser#summary_width=(width) (6263.0)

サマリを表示するときの幅を整数で指定します。

...ます。

@param width サマリを表示するときの幅を整数で指定します。

//emlist[例][ruby]{
require "optparse"

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

opts.summary_width # => 32
opts.su...
...mmarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8 # => 8
opts.summary_width # => 8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}...

OptionParser#summary_width -> Integer (6256.0)

サマリを表示するときの幅を整数で返します。

...head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end

opts.summary_width # => 32
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8
opts.summary_width # =>8
opts.summarize
# => [" -i\n", " --init\...
...n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}...

RDoc::Options#tab_width -> Integer (6234.0)

コマンドライン引数の --tab-width オプションで指定した数値を返します。

...コマンドライン引数の --tab-width オプションで指定した数値を返します。...

絞り込み条件を変える

Psych::Emitter#line_width -> Integer (6208.0)

「好ましい」行幅を返します。

...「好ましい」行幅を返します。

@see Psych::Emitter#line_width=...

PrettyPrint#maxwidth -> Integer (6201.0)

自身の幅を返します。

自身の幅を返します。

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

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

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

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

@param indent サマリのインデントを文字列で指定します。

//emlist[例][ruby]{
require "optparse"

opts = OptionParser.new do |opts|
opts.on_head("-i", "--ini...
...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| ... } -> () (451.0)

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

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

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

@param indent サマリのインデントを文字列で指定します。

//emlist[例][ruby]{
require "optparse"

opts = OptionParser.new do |opts|
opts.on_head("-i", "--ini...
...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"]...
<< 1 2 3 ... > >>