るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. _builtin slice!
  2. string slice!
  3. _builtin select!
  4. _builtin reject!
  5. optparse order!

検索結果

yaml/store (132055.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"...