Module: Technoweenie::AttachmentFu

Defined in:
lib/attachment_fu.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ActMethods, ClassMethods, InstanceMethods Classes: AttachmentError, ThumbnailError

Constant Summary collapse

@@default_processors =
%w(ImageScience Rmagick MiniMagick)
@@tempfile_path =
File.join(Merb.root, 'tmp', 'attachment_fu')
@@content_types =
['image/jpeg', 'image/pjpeg', 'image/gif', 'image/png', 'image/x-png', 'image/jpg']

Instance Attribute Summary collapse

Instance Attribute Details

#content_typesObject (readonly)

Returns the value of attribute content_types.



6
7
8
# File 'lib/attachment_fu.rb', line 6

def content_types
  @content_types
end

#default_processorsObject (readonly)

Returns the value of attribute default_processors.



6
7
8
# File 'lib/attachment_fu.rb', line 6

def default_processors
  @default_processors
end

#tempfile_pathObject

Returns the value of attribute tempfile_path.



6
7
8
# File 'lib/attachment_fu.rb', line 6

def tempfile_path
  @tempfile_path
end