Sha256: 5fcc396968569f6498c011037051866e454b3b86a71e6b064c326a494179d92e

Contents?: true

Size: 170 Bytes

Versions: 1

Compression:

Stored size: 170 Bytes

Contents

module ElasticonfRails
  class Reloader
    def initialize(app)
      @app = app
    end

    def call(env)
      Elasticonf.reload!
      @app.call env
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elasticonf-rails-1.0.0 lib/elasticonf_rails/reloader.rb