lib/picky/backends/memory/text.rb in picky-3.1.9 vs lib/picky/backends/memory/text.rb in picky-3.1.10
- old
+ new
@@ -14,9 +14,15 @@
#
def extension
:txt
end
+ # The initial content before loading.
+ #
+ def default
+ raise "Can't have a default content from text file. Use JSON or Marshal."
+ end
+
# Text files are used exclusively for
# prepared data files.
#
def load
raise "Can't load from text file. Use JSON or Marshal."
\ No newline at end of file