Class: Gruf::Interceptors::Rails::Reloader

Inherits:
ServerInterceptor show all
Defined in:
lib/gruf/interceptors/rails/reloader.rb

Overview

Triggers rails code reloading between requests

Instance Attribute Summary

Attributes inherited from Base

#error, #options, #request

Instance Method Summary collapse

Methods included from Errors::Helpers

#fail!

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Gruf::Interceptors::Base

Instance Method Details

#call(&block) ⇒ Object



25
26
27
# File 'lib/gruf/interceptors/rails/reloader.rb', line 25

def call(&block)
  options[:reloader].wrap(&block)
end