Class: Yeller::Rails

Inherits:
Object
  • Object
show all
Defined in:
lib/yeller/rails.rb

Defined Under Namespace

Modules: ActionControllerCatchingHooks Classes: Railtie

Class Method Summary collapse

Class Method Details

.configure(&block) ⇒ Object



7
8
9
10
11
12
# File 'lib/yeller/rails.rb', line 7

def self.configure(&block)
  Yeller::Rack.configure do |config|
    config.error_handler = Yeller::LogErrorHandler.new(::Rails.logger)
    block.call(config)
  end
end