Sha256: d3aad1135ed06f3a8ac6a35a552c4984092a3115766afb1898a02a6cfa8cf906

Contents?: true

Size: 184 Bytes

Versions: 7

Compression:

Stored size: 184 Bytes

Contents

class FileLike
  attr_accessor :size, :path

  def read
    "contents"
  end
end

class UploadedFileLike
  attr_accessor :size, :original_filename

  def read
    "contents"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
progstr-filer-0.8.7 test/file_like.rb
progstr-filer-0.8.6 test/file_like.rb
progstr-filer-0.8.5 test/file_like.rb
progstr-filer-0.8.4 test/file_like.rb
progstr-filer-0.8.3 test/file_like.rb
progstr-filer-0.8.2 test/file_like.rb
progstr-filer-0.8.1 test/file_like.rb