Class: Puma::Redeploy::FileHandler
- Inherits:
-
BaseHandler
- Object
- BaseHandler
- Puma::Redeploy::FileHandler
- Defined in:
- lib/puma/redeploy/file_handler.rb
Overview
file based redeploy handler
Instance Attribute Summary
Attributes inherited from BaseHandler
Instance Method Summary collapse
- #archive_file(archive_location) ⇒ Object
-
#initialize(watch_file:, deployer:, logger:) ⇒ FileHandler
constructor
A new instance of FileHandler.
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 |