lib/keep/yaml.rb
def save
      File.open(path, 'w') do |out|
        YAML.dump(data, out)
      end
    end
# Persists the in-memory hash to disk. Implemented by child classes.
#
# Returns whether the save was successful.
Persists the in-memory hash to disk. Implemented by child classes.
Returns whether the save was successful.
Persists the in - memory hash to disk . Implemented by child classes . Returns whether the save was successful .
def save
      File.open(path, 'w') do |out|
        YAML.dump(data, out)
      end
    end
def save File . open ( path , 'w' ) do | out | YAML . dump ( data , out ) end end
Persists the in-memory hash to disk.
Persists the in - memory hash to disk .