Sha256: b0f23dffa37ceed5263ea73340859d491649f06e3e0143b5fea17b4d4e8230aa
Contents?: true
Size: 310 Bytes
Versions: 22
Compression:
Stored size: 310 Bytes
Contents
module Bulldog class SavedFile def initialize(path, options={}) @path = path @file_name = options[:file_name] end attr_reader :path # # The original file name as it was uploaded, if any. # attr_reader :file_name def size File.size(path) end end end
Version data entries
22 entries across 22 versions & 1 rubygems