るりまサーチ

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

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. dsa p
  5. dsa p=

ライブラリ

キーワード

検索結果

<< 1 2 3 ... > >>

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

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

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

デフォルトは80です。

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

Scanf::FormatSpecifier#width (21102.0)

@todo

@todo

PrettyPrint#maxwidth -> Integer (12101.0)

自身の幅を返します。

自身の幅を返します。

PrettyPrint#group(indent = 0, open_obj = &#39;&#39;, close_obj = &#39;&#39;, open_width = open_obj.length, close_width = close_obj.length) {...} -> () (9327.0)

与えられたブロックを実行します。 ブロック内で自身に追加される文字列やオブジェクトは、1行にまとめて表示しても よい同じグループに属すると仮定されます。

...に属すると仮定されます。

もう少し詳しく説明します。pretty printing アルゴリズムはインデントと改行を、
ツリー構造を作ることによって決定します。そして、group メソッドは子ノードの作成と
子ノードのインデントの深...
...

@param indent グループのインデントの深さを指定します。

@param open_obj 指定された場合、self.text(open_obj, open_width) がブロックが
実行される前に呼ばれます。開き括弧などを出力するのに使用されます。

@param clos...
...場合、self.text(close_obj, close_width) がブロックが
実行された後に呼ばれます。閉じ括弧などを出力するのに使用されます。

@param open_width open_obj のカラムを指定します。

@param close_width close_obj のカラムを指定しま...

OptionParser#summary_width=(width) (9227.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.summa...
...rize
# => [" -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"]
//}...

絞り込み条件を変える

Psych::Emitter#line_width=(width) (9215.0)

「好ましい」行幅を整数値で設定します。

...「好ましい」行幅を整数値で設定します。

@param width 好ましい行幅
@see Psych::Emitter#line_width...

OptionParser#summary_width -> Integer (9120.0)

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

..."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.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 (9118.0)

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

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

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

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

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

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

REXML::Formatters::Pretty#width=(w) (9108.0)

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

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

@param w ページ幅の設定値
@see REXML::Formatters::Pretty#width...

絞り込み条件を変える

<< 1 2 3 ... > >>