lib/widget/widget_data.rb in widget-0.0.1 vs lib/widget/widget_data.rb in widget-0.0.3

- old
+ new

@@ -63,10 +63,10 @@ private HASHMODEL_FILE = File.expand_path((File.dirname(__FILE__) + '/../../db/hashmodel.dat')) def load_widgets - Marshal.load(File.open(HASHMODEL_FILE, "r")) + Marshal.load(File.open(HASHMODEL_FILE, "r")) end def save_widgets(widget=@widgets) File.open(HASHMODEL_FILE, "w"){|file| file.write(Marshal.dump(widget))} end \ No newline at end of file