module Roda::RodaPlugins::TypecastParams::ClassMethods
Public Instance Methods
Source
# File lib/roda/plugins/typecast_params.rb, line 1145 def freeze self::TypecastParams.freeze super end
Freeze the Params
subclass when freezing the class.
Calls superclass method
Source
# File lib/roda/plugins/typecast_params.rb, line 1151 def inherited(subclass) super subclass.const_set(:TypecastParams, Class.new(self::TypecastParams)) end
Assign the application subclass a subclass of the current Params
subclass.
Calls superclass method