Class: RescueRegistry::ShowExceptions::MimeType

Inherits:
Struct
  • Object
show all
Defined in:
lib/rescue_registry/show_exceptions.rb

Overview

Match Rail’s Mime::Type API on a basic level

Instance Attribute Summary collapse

Instance Attribute Details

#to_sObject

Returns the value of attribute to_s

Returns:

  • (Object)

    the current value of to_s



16
17
18
# File 'lib/rescue_registry/show_exceptions.rb', line 16

def to_s
  @to_s
end

#to_symObject

Returns the value of attribute to_sym

Returns:

  • (Object)

    the current value of to_sym



16
17
18
# File 'lib/rescue_registry/show_exceptions.rb', line 16

def to_sym
  @to_sym
end