module Roda::RodaPlugins::ErrorEmail::ClassMethods
Public Instance Methods
inherited(subclass)
click to toggle source
Dup the error email opts in the subclass so changes to the subclass do not affect the superclass.
Calls superclass method
# File lib/roda/plugins/error_email.rb, line 87 def inherited(subclass) super subclass.opts[:error_email] = subclass.opts[:error_email].dup subclass.opts[:error_email][:headers] = subclass.opts[:error_email][:headers].dup end