Sha256: 35098df3aa1fb15fcfa1b54f6a6014f2d0745a95ed690ed05877179d10829c37
Contents?: true
Size: 575 Bytes
Versions: 4
Compression:
Stored size: 575 Bytes
Contents
module GovukNavigationHelpers def self.configuration @configuration ||= Configuration.new end def self.configure yield configuration if block_given? end class Configuration attr_writer :error_handler, :statsd def error_handler @error_handler ||= NoErrorHandler.new end def statsd @statsd ||= NoStatsd.new end class NoStatsd def increment(*); end def time(*) yield end end class NoErrorHandler def notify(exception, *_args) puts exception end end end end
Version data entries
4 entries across 4 versions & 1 rubygems