# File lib/merb-param-protection.rb, line 6 6: def self.included(base) 7: base.send(:extend, ClassMethods) 8: base.send(:include, InstanceMethods) 9: base.send(:class_inheritable_accessor, :accessible_params_args) 10: base.send(:class_inheritable_accessor, :protected_params_args) 11: base.send(:class_inheritable_accessor, :log_params_args) 12: # Don't expose these as public methods - otherwise they'll become controller actions 13: base.send(:protected, :accessible_params_args, :protected_params_args, :log_params_args) 14: base.send(:protected, :accessible_params_args=, :protected_params_args=, :log_params_args=) 15: 16: base.send(:before, :initialize_params_filter) 17: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.