Module: Crystal::AbstractController::Micelaneous::ClassMethods

Defined in:
lib/crystal/controller/abstract_controller/micelaneous.rb

Instance Method Summary collapse

Instance Method Details

#filter_parameter_logging_with_sugar(*parameters) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/crystal/controller/abstract_controller/micelaneous.rb', line 21

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