Exception: Mack::Errors::UnknownRenderOption

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mack/errors/errors.rb

Overview

Raised if an unsupported render option is supplied.

Instance Method Summary collapse

Constructor Details

#initialize(opt) ⇒ UnknownRenderOption

Takes a render option.



70
71
72
# File 'lib/mack/errors/errors.rb', line 70

def initialize(opt)
  super("You did not specify a valid render option! '#{opt.inspect}'")
end