るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.069秒)
トップページ > バージョン:2.5.0[x] > クエリ:-[x] > クエリ:end[x] > クエリ:yaml/store[x]

別のキーワード

  1. _builtin end
  2. ripper end_seen?
  3. _builtin exclude_end?
  4. _builtin end_with?
  5. psych end_stream

検索結果

yaml/store (114073.0)

RubyのオブジェクトをYAML形式の外部ファイルに格納するためのクラスです。

RubyのオブジェクトをYAML形式の外部ファイルに格納するためのクラスです。

例:

require 'yaml/store'

Person = Struct.new :first_name, :last_name

people = [Person.new("Bob", "Smith"), Person.new("Mary", "Johnson")]

store = YAML::Store.new "test.store"

store.transaction do
store["people"] = people
store["greeting"...