Object
# File lib/moneta/file.rb, line 38 def initialize(options = {}) @directory = options[:path] if ::File.file?(@directory) raise StandardError, "The path you supplied #{@directory} is a file" elsif !::File.exists?(@directory) FileUtils.mkdir_p(@directory) end @expiration = Expiration.new(@directory) end
Generated with the Darkfish Rdoc Generator 2.