るりまサーチ

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

別のキーワード

  1. _builtin to_c
  2. etc sc_2_c_dev
  3. etc sc_2_c_bind
  4. tracer display_c_call
  5. tracer display_c_call=

クラス

モジュール

オブジェクト

キーワード

検索結果

<< 1 2 3 ... > >>

CSV::Table#inspect -> String (32206.0)

モードとサイズを US-ASCII な文字列で返します。

...モードとサイズを US-ASCII な文字列で返します。

//emlist[][ruby]{
require 'csv'
c
sv = CSV.new("a,b,c\n1,2,3", headers: true)
table = csv.read
p table.inspect # => "#<CSV::Table mode:col_or_row row_count:2>"
//}...

CSV#inspect -> String (32200.0)

ASCII 互換文字列で自身の情報を表したものを返します。

...ASCII 互換文字列で自身の情報を表したものを返します。

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

c
sv = CSV.new("header1,header2\nrow1_1,row1_2")
c
sv.inspect # => "<#CSV io_type:StringIO encoding:UTF-8 lineno:0 col_sep:\",\" row_sep:\"\\n\" quote_char:\"\\\"\">"
//}...

CSV::Row#inspect -> String (32200.0)

ASCII 互換であるエンコーディングの文字列で自身の情報を返します。

...ASCII 互換であるエンコーディングの文字列で自身の情報を返します。

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

row = CSV::Row.new(["header1", "header2", "header1"], [1, 2, 3])
row.inspect # => "#<CSV::Row \"header1\":1 \"header2\":2 \"header1\":3>"
//}...

Complex#inspect -> String (32200.0)

自身を人間が読みやすい形の文字列表現にして返します。

...[例][ruby]{
C
omplex(2).inspect # => "(2+0i)"
C
omplex('-8/6').inspect # => "((-4/3)+0i)"
C
omplex('1/2i').inspect # => "(0+(1/2)*i)"
C
omplex(0, Float::INFINITY).inspect # => "(0+Infinity*i)"
C
omplex(Float::NAN, Float::NAN).inspect # => "(N...

CSV::Row#deconstruct_keys(keys) -> Hash (26122.0)

パターンマッチに使用するヘッダの名前と値の Hash を返します。

...require "csv"

row = CSV::Row.new([:header1, :header2, :header3], [1, 2, 3])
c
ase row
in { header1: 2.., header2: 2.., header3: 2.. }
puts "all 2 or more"
in { header1: ...2, header2: 2.., header3: 2.. }
puts "first column is less than 2, and rest columns are 2 or more"
end
#=> "first column is...
...less than 2, and rest columns are 2 or more" が出力される
//}

@see d:spec/pattern_matching#matching_non_primitive_objects...

絞り込み条件を変える

CGI.accept_charset=(charset) (26106.0)

受けとることができるキャラクタセットを設定します。

...受けとることができるキャラクタセットを設定します。

@param charset 文字列でキャラクタセットの名前を指定します。

@see spec/m17n...

CSV::Row#deconstruct -> [object] (26106.0)

パターンマッチに使用する行の値の配列を返します。

...例][ruby]{
require "csv"
row = CSV::Row.new(["header1", "header2", "header3"], [1, 2, 3])
c
ase row
in [2.., 2.., 2..]
puts "all 2 or more"
in [...2, 2.., 2..]
puts "first column is less than 2, and rest columns are 2 or more"
end
#=> "first column is less than 2, and rest columns are 2 or more"...
...が出力される
//}

@see d:spec/pattern_matching#matching_non_primitive_objects...

Gem::Format#spec -> Gem::Specification (24317.0)

Gem の Gem::Specification を返します。

...Gem の Gem::Specification を返します。...

Gem::Installer#spec -> Gem::Specification (24317.0)

インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。

...インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。...

Gem::OldFormat#spec -> Gem::Specification (24317.0)

Gem の Gem::Specification を返します。

...Gem の Gem::Specification を返します。...

絞り込み条件を変える

<< 1 2 3 ... > >>