Class: Puma::Redeploy::FileHandler

Inherits:
BaseHandler show all
Defined in:
lib/puma/redeploy/file_handler.rb

Overview

file based redeploy handler

Instance Attribute Summary

Attributes inherited from BaseHandler

#watch_file

Instance Method Summary collapse

Methods inherited from BaseHandler

#needs_redeploy?, #watch_file_data

Constructor Details

#initialize(watch_file:, deployer:, logger:) ⇒ FileHandler

Returns a new instance of FileHandler.



9
10
11
12
# File 'lib/puma/redeploy/file_handler.rb', line 9

def initialize(watch_file:, deployer:, logger:)
  super
  @touched_at = touched_at
end

Instance Method Details

#archive_file(archive_location) ⇒ Object



14
15
16
# File 'lib/puma/redeploy/file_handler.rb', line 14

def archive_file(archive_location)
  archive_location
end