Class: RescueRegistry::ShowExceptions::MimeType
- Inherits:
-
Struct
- Object
- Struct
- RescueRegistry::ShowExceptions::MimeType
- Defined in:
- lib/rescue_registry/show_exceptions.rb
Overview
Match Rail’s Mime::Type API on a basic level
Instance Attribute Summary collapse
-
#to_s ⇒ Object
Returns the value of attribute to_s.
-
#to_sym ⇒ Object
Returns the value of attribute to_sym.
Instance Attribute Details
#to_s ⇒ Object
Returns the value of attribute to_s
16 17 18 |
# File 'lib/rescue_registry/show_exceptions.rb', line 16 def to_s @to_s end |
#to_sym ⇒ Object
Returns the value of attribute to_sym
16 17 18 |
# File 'lib/rescue_registry/show_exceptions.rb', line 16 def to_sym @to_sym end |