Module: Rad::Controller::Abstract::Miscellaneous::ClassMethods

Defined in:
lib/rad/controller/_abstract/miscellaneous.rb

Instance Method Summary collapse

Instance Method Details

#filter_parameter_logging_with_sugar(*parameters) ⇒ Object



19
20
21
22
23
24
25
# File 'lib/rad/controller/_abstract/miscellaneous.rb', line 19

def filter_parameter_logging_with_sugar *parameters
  if parameters.empty?
    filter_parameter_logging_without_sugar
  else
    filter_parameter_logging_without_sugar.push *parameters.collect(&:to_s)
  end
end