class MediaTypeOutputNotImplementedError
Attributes
context[R]
type[R]
Public Class Methods
new(name, type, context)
click to toggle source
Calls superclass method
MediaTypeNotImplementedError::new
# File lib/distorted/error_code.rb, line 26 def initialize(name, type, context) super(name) @type = type @context = context end
Public Instance Methods
message()
click to toggle source
# File lib/distorted/error_code.rb, line 32 def message "Unable to save #{name} as #{type.to_s} from #{context}" end