Class: Seamus::File::Image

Inherits:
File
  • Object
show all
Includes:
ImageInspector, ImageProcessor, StandardAdditions
Defined in:
lib/seamus/file/image.rb

Instance Method Summary collapse

Methods included from StandardAdditions

#content_type, #md5, #md5_base64_encoded, #md5_digest, #size

Methods included from ImageProcessor

#thumbnail

Methods included from ImageInspector

#inspector

Constructor Details

#initialize(*args, &block) ⇒ Image

Returns a new instance of Image.



7
8
9
10
# File 'lib/seamus/file/image.rb', line 7

def initialize(*args, &block)
  super(*args, &block)
  create_methods_for inspector, :except => ["thumbnail", "thumbnail2"]
end