るりまサーチ

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

別のキーワード

  1. optparse on
  2. optionparser on
  3. tracer on
  4. socket udp_server_loop_on
  5. thread abort_on_exception

種類

ライブラリ

クラス

検索結果

CSV::DEFAULT_OPTIONS -> Hash (24301.0)

このオプションは呼び出し側で上書きしなかったときに使用するオプションです。

...るオプションです。

: :col_sep
","
: :row_sep
:auto
: :quote_char
'"'
: :field_size_limit
nil
: :converters
nil
: :unconverted_fields
nil
: :headers
false
: :return_headers
false
: :header_converters
nil
: :skip_blanks
false
: :force_quotes
false
: :skip_lines
nil...

Gem::DependencyInstaller::DEFAULT_OPTIONS -> Hash (24301.0)

自身を初期化する際に使用するデフォルトのオプションです。

自身を初期化する際に使用するデフォルトのオプションです。

:env_shebang => false,
:domain => :both, # HACK dup
:force => false,
:format_executable => false, # HACK dup
:ignore_dependencies => false,
:security_policy => nil, # HACK NoSecurity requires OpenSSL. Al...

CSV.new(data, options = Hash.new) -> CSV (236.0)

このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。

...ンスタンスを指定した場合、CSV#string を使用して
後からデータを取り出すことが出来ます。

@param options CSV をパースするためのオプションをハッシュで指定します。
パフォーマンス上の理由でインスタ...
... only available for output, the default
$INPUT_RECORD_SEPARATOR ($/) is used. Obviously,
discovery takes a little time. Set manually if speed is important. Also
n
ote that IO objects should be opened in binary mode on Windows if this
feature will be used as the line-ending translation...
...=<<-EOS
id|first name|last name|age
1|taro|tanaka|20
2|jiro|suzuki|18
3|ami|sato|19
4|yumi|adachi|21
EOS

csv = CSV.new(users, headers: true, col_sep: "|")
p csv.class # => CSV
p csv.first # => #<CSV::Row "id":"1" "first name":"taro" "last name":"tanaka" "age":"20">
//}

@see CSV::DEFAULT_OPTIONS, C...