lib/moneta/adapters/pstore.rb in moneta-0.7.0 vs lib/moneta/adapters/pstore.rb in moneta-0.7.1
- old
+ new
@@ -6,12 +6,10 @@
# @api public
class PStore < Base
# Constructor
#
# @param [Hash] options
- #
- # Options:
- # * :file - PStore file
+ # @option options [String] :file PStore file
def initialize(options = {})
raise ArgumentError, 'Option :file is required' unless options[:file]
FileUtils.mkpath(::File.dirname(options[:file]))
@pstore = new_store(options)
end