るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.167秒)

別のキーワード

  1. rexml/document new
  2. rexml/document write
  3. rexml/document to_s
  4. rexml/document clone
  5. rexml/document node_type

検索結果

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