# File lib/directory_manager.rb, line 48 def save contents= @parsed_file.to_yaml @parsed_file= nil File.open(@location, 'w') {|f| f.write contents} contents end