るりまサーチ

最速Rubyリファレンスマニュアル検索!
90件ヒット [1-90件を表示] (0.012秒)
トップページ > クエリ:width[x] > クエリ:format[x]

別のキーワード

  1. rss width
  2. rss width=
  3. etc cs_posix_v7_width_restricted_envs
  4. etc cs_posix_v6_width_restricted_envs
  5. image width

ライブラリ

モジュール

キーワード

検索結果

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

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

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

デフォルトは80です。

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

Scanf::FormatSpecifier#width (21101.0)

@todo

@todo

PrettyPrint.format(output = '', maxwidth = 79, newline = "\n", genspace = lambda{|n| ' ' * n}) {|pp| ...} -> object (18201.0)

PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 与えられた output を返します。

...rettyprint'

begin
pp = PrettyPrint.new(output, maxwidth, newline, &genspace)
...
pp.flush
output
end
//}

@param output 出力先を指定します。output は << メソッドを持っていなければなりません。

@param maxwidth 行の最大幅を指定します。ただし、改...
...行できないものが渡された場合は、
実際の出力幅は maxwidth を越えることがあります。

@param newline 改行に使われます。

@param genspace 空白の生成に使われる Proc オブジェクトを指定します。
生成した...

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

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

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

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

PrettyPrint.singleline_format(output = &#39;&#39;, maxwidth = 79, newline = "\n", genspace = lambda{|n| &#39; &#39; * n}) {|pp| ...} -> object (6217.0)

PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 PrettyPrint.format に似ていますが、改行しません。

...PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。
PrettyPrint.format に似ていますが、改行しません。

引数 maxwidth, newline と genspace は無視されます。ブロック中の breakable の実行は、
改行せずに text...
...の実行であるかのように扱います。

@param output 出力先を指定します。output は << メソッドを持っていなければなりません。

@param maxwidth 無視されます。

@param newline 無視されます。

@param genspace 無視されます。...

絞り込み条件を変える

Benchmark.#benchmark(caption = "", label_width = nil, fmtstr = nil, *labels) {|rep| ...} -> [Benchmark::Tms] (119.0)

Benchmark::Report オブジェクトを生成し、それを引数として与えられたブロックを実行します。

...に表示する文字列を指定します。
@param label_width ラベルの幅を指定します。
@param fmtstr フォーマット文字列を指定します。
この引数を省略すると Benchmark::FORMAT が使用されます。
@param labels ブロックが Benchm...
...total:", ">avg:") do |x| ... end
# と同じ
Benchmark.benchmark(" "*7 + Benchmark::CAPTION,
7,
Benchmark::FORMAT,
">total:",
">avg:") do |x|

tf = x.report("for:") { for i in 1..n; a = "1"; end }
tt = x.report("ti...

rdoc (18.0)

RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。

...ンを指定した場合に、標準エラーに情報を出力して終了ステー
タス 1 でプログラムを終了します。

: --image-format gif/png/jpg/jpeg

図のフォーマットを指定します。png、gif、jpeg、jpg が指定できます。指
定しなかった場合は...
...#' は取り除かれま
す。

: --style stylesheet url

(RDoc のではなく)外部スタイルシートの URL を指定する。

: --tab-width n

タブの幅を指定する(デフォルトは 8)。

: --template name

出力生成時に使うテンプレートを指定する(デフ...
...常の動作と干渉するため、保存する事ができません。

* --coverage-report
* --dry-run
* --encoding
* --force-update
* --format
* --pipe
* --quiet
* --template
* --verbose

===[a:markup] Markup

コメント部はかなり自然に書くことができます。'#' で始...

ruby 1.8.4 feature (18.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...d_missing if super is
# called from Kernel method.
#
# * eval.c (exec_under): frame during eval should preserve external
# information.

: super [bug]

Kernelのメソッド内でsuperを呼んだ時に、存在しないsuperclass
にアクセスしようとするバグ...
...ntedError)
from -:7
# => ruby 1.8.4 (2005-12-22) [i686-linux]
-:3:in `foo'-:3: warning: too many arguments for format string
: super: no superclass method `foo' (NoMethodError)
from -:7

: 正規表現 [bug]

#Wed Oct 19 01:27:07 2005...
...例はすべて以下のエラーになります。
# %xx$ に指定できる最大値は 2147483647 です。
# -e:1:in `printf': width too big (ArgumentError)

: Hash [bug]

#Wed Nov 23 03:40:49 2005 Guy Decoux <ts@moulon.inra.fr>
#
# * re.c (KR_REHASH): should cast to unsi...