Class: Burner::Library::IO::Read
- Inherits:
-
OpenFileBase
- Object
- Job
- JobWithRegister
- OpenFileBase
- Burner::Library::IO::Read
- Defined in:
- lib/burner/library/io/read.rb
Overview
Constant Summary
Constants inherited from JobWithRegister
Instance Attribute Summary
Attributes inherited from OpenFileBase
Attributes inherited from JobWithRegister
Attributes inherited from Job
Instance Method Summary collapse
Methods inherited from OpenFileBase
Methods inherited from JobWithRegister
Methods inherited from Job
Methods included from Util::Arrayable
Constructor Details
This class inherits a constructor from Burner::Library::IO::OpenFileBase
Instance Method Details
#perform(output, payload) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/burner/library/io/read.rb', line 20 def perform(output, payload) compiled_path = job_string_template(path, output, payload) output.detail("Reading: #{compiled_path}") payload[register] = disk.read(compiled_path, binary: binary) end |