Class: Boatman::MonitoredFile
- Inherits:
-
Object
- Object
- Boatman::MonitoredFile
- Includes:
- Copyable
- Defined in:
- lib/boatman/monitored_file.rb
Instance Attribute Summary collapse
-
#match_data ⇒ Object
Returns the value of attribute match_data.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
- #disable_checksum_verification ⇒ Object
-
#initialize(file_path, match_data = nil) ⇒ MonitoredFile
constructor
A new instance of MonitoredFile.
Methods included from Copyable
Constructor Details
#initialize(file_path, match_data = nil) ⇒ MonitoredFile
Returns a new instance of MonitoredFile.
8 9 10 11 |
# File 'lib/boatman/monitored_file.rb', line 8 def initialize(file_path, match_data = nil) @path = file_path @match_data = match_data end |
Instance Attribute Details
#match_data ⇒ Object
Returns the value of attribute match_data.
6 7 8 |
# File 'lib/boatman/monitored_file.rb', line 6 def match_data @match_data end |
#path ⇒ Object
Returns the value of attribute path.
5 6 7 |
# File 'lib/boatman/monitored_file.rb', line 5 def path @path end |
Instance Method Details
#disable_checksum_verification ⇒ Object
13 14 15 |
# File 'lib/boatman/monitored_file.rb', line 13 def disable_checksum_verification @checksum_verification_disabled = true end |