Overloads:
Sets the content type for this class.
Parameters:
the type
Returns:
the content type
Returns the content type for this class.
32 33 34 35
# File 'lib/animoto/support/content_type.rb', line 32 def content_type type = nil @content_type = type if type @content_type || infer_content_type end