Sha256: 82fb73be9757583dad63a20a02050338d312f5d3520d6671c3336c5458917439
Contents?: true
Size: 732 Bytes
Versions: 12
Compression:
Stored size: 732 Bytes
Contents
module Rad::Controller::Abstract::Micelaneous # # respond_to # def respond_to &block @_responder.must_be.nil @_responder = Rad::Controller::Abstract::Responder.new block.call @_responder handler = @_responder.handlers[params.format] raise "can't respond to '#{params.format}' format!" unless handler handler.call end module ClassMethods # # filter_parameter_logging # inheritable_accessor :filter_parameter_logging, [] 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 end end
Version data entries
12 entries across 12 versions & 1 rubygems