Public Instance methods
freeze()
Freeze the Params subclass when freezing the class.
[show source]
# File lib/roda/plugins/typecast_params.rb 1147 def freeze 1148 self::TypecastParams.freeze 1149 super 1150 end
inherited(subclass)
Assign the application subclass a subclass of the current Params subclass.
[show source]
# File lib/roda/plugins/typecast_params.rb 1153 def inherited(subclass) 1154 super 1155 subclass.const_set(:TypecastParams, Class.new(self::TypecastParams)) 1156 end