Class: Seamus::File::Image
- Inherits:
-
File
- Object
- File
- Seamus::File::Image
- Includes:
- ImageInspector, ImageProcessor, StandardAdditions
- Defined in:
- lib/seamus/file/image.rb
Instance Method Summary collapse
-
#initialize(*args, &block) ⇒ Image
constructor
A new instance of Image.
- #inspection_attributes ⇒ Object
Methods included from StandardAdditions
#[], #add_inspection_attributes, #attributes, #content_type, #md5, #md5_base64_encoded, #md5_digest, #size
Methods included from ImageProcessor
Methods included from ImageInspector
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 |
Instance Method Details
#inspection_attributes ⇒ Object
12 13 14 |
# File 'lib/seamus/file/image.rb', line 12 def inspection_attributes @inspection_attributes ||= [:width, :height] + standard_attributes end |