Object
# File lib/moneta/xattr.rb, line 13 def initialize(options = {}) file = options[:file] @hash = ::Xattr.new(file) FileUtils.mkdir_p(::File.dirname(file)) FileUtils.touch(file) unless options[:skip_expires] @expiration = Moneta::Xattr.new(:file => "#{file}_expiration", :skip_expires => true) self.extend(Expires) end end
Generated with the Darkfish Rdoc Generator 2.