method
new
v2_2_9 -
Show latest stable
- Class:
YAML::Store
new(file_name, yaml_opts = {})public
Creates a new YAML::Store object, which will store data in file_name. If the file does not already exist, it will be created.
Options passed in through yaml_opts will be used when converting the store to YAML via Hash#to_yaml().