module ParamsPatrol
Constants
- VERSION
Public Class Methods
handle(*options)
click to toggle source
# File lib/params_patrol.rb, line 14 def self.handle(*options) if @handler.nil? @handler = lambda { |x| Logger.new(STDOUT).info(x) } end @handler.call(options) end
handler()
click to toggle source
# File lib/params_patrol.rb, line 6 def self.handler @handler end
handler=(handler)
click to toggle source
# File lib/params_patrol.rb, line 10 def self.handler=(handler) @handler = handler end