Class: Mime::AllType
- Includes:
 - Singleton
 
- Defined in:
 - lib/action_dispatch/http/mime_type.rb
 
Constant Summary
Constants inherited from Type
Type::ACCEPT_HEADER_REGEXP, Type::MIME_NAME, Type::MIME_PARAMETER, Type::MIME_PARAMETER_VALUE, Type::MIME_REGEXP, Type::PARAMETER_SEPARATOR_REGEXP, Type::TRAILING_STAR_REGEXP
Instance Attribute Summary
Attributes inherited from Type
Instance Method Summary collapse
- #all? ⇒ Boolean
 - #html? ⇒ Boolean
 - 
  
    
      #initialize  ⇒ AllType 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AllType.
 
Methods inherited from Type
#==, #===, #=~, #eql?, lookup, lookup_by_extension, #match?, parse, parse_data_with_trailing_star, parse_trailing_star, #ref, register, register_alias, register_callback, #to_s, #to_str, #to_sym, unregister
Constructor Details
#initialize ⇒ AllType
Returns a new instance of AllType.
      345 346 347  | 
    
      # File 'lib/action_dispatch/http/mime_type.rb', line 345 def initialize super "*/*", nil end  | 
  
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Mime::Type
Instance Method Details
#all? ⇒ Boolean
      349  | 
    
      # File 'lib/action_dispatch/http/mime_type.rb', line 349 def all?; true; end  | 
  
#html? ⇒ Boolean
      350  | 
    
      # File 'lib/action_dispatch/http/mime_type.rb', line 350 def html?; true; end  |