Class: Mime::AllType
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Type
|
|
Instance Chain:
self,
::Singleton ,
Type
|
|
Inherits: |
Mime::Type
|
Defined in: | actionpack/lib/action_dispatch/http/mime_type.rb |
Constant Summary
Type
- Inherited
ACCEPT_HEADER_REGEXP, MIME_NAME, MIME_PARAMETER, MIME_PARAMETER_VALUE, MIME_REGEXP, PARAMETER_SEPARATOR_REGEXP, TRAILING_STAR_REGEXP
Class Method Summary
- .new ⇒ AllType constructor
Type
- Inherited
.lookup, .lookup_by_extension, .new, .parse, | |
.parse_data_with_trailing_star | |
.parse_trailing_star, .register, | |
.register_alias | Registers an alias that’s not used on MIME type lookup, but can be referenced directly. |
.register_callback, | |
.unregister | This method is opposite of register method. |
Instance Attribute Summary
- #all? ⇒ Boolean readonly
- #html? ⇒ Boolean readonly
::Singleton
- Included
#duplicable? |
|
Type
- Inherited
Instance Method Summary
Type
- Inherited
Constructor Details
.new ⇒ AllType
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 352
def initialize super "*/*", nil end
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Mime::Type
Instance Attribute Details
#all? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 356
def all?; true; end
#html? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 357
def html?; true; end