Class: RocketJob::Sliced::Writer::Null
- Inherits:
-
Object
- Object
- RocketJob::Sliced::Writer::Null
- Defined in:
- lib/rocket_job/sliced/writer/output.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#append ⇒ Object
Returns the value of attribute append.
-
#categorized_records ⇒ Object
readonly
Returns the value of attribute categorized_records.
-
#input_slice ⇒ Object
Returns the value of attribute input_slice.
-
#job ⇒ Object
readonly
Returns the value of attribute job.
Instance Method Summary collapse
- #<<(_) ⇒ Object
- #close ⇒ Object
-
#initialize(job, input_slice: nil, append: false) ⇒ Null
constructor
A new instance of Null.
Constructor Details
#initialize(job, input_slice: nil, append: false) ⇒ Null
Returns a new instance of Null.
8 9 10 11 12 13 |
# File 'lib/rocket_job/sliced/writer/output.rb', line 8 def initialize(job, input_slice: nil, append: false) @job = job @input_slice = input_slice @categorized_records = {} @append = append end |
Instance Attribute Details
#append ⇒ Object
Returns the value of attribute append.
6 7 8 |
# File 'lib/rocket_job/sliced/writer/output.rb', line 6 def append @append end |
#categorized_records ⇒ Object (readonly)
Returns the value of attribute categorized_records.
5 6 7 |
# File 'lib/rocket_job/sliced/writer/output.rb', line 5 def categorized_records @categorized_records end |
#input_slice ⇒ Object
Returns the value of attribute input_slice.
6 7 8 |
# File 'lib/rocket_job/sliced/writer/output.rb', line 6 def input_slice @input_slice end |
#job ⇒ Object (readonly)
Returns the value of attribute job.
5 6 7 |
# File 'lib/rocket_job/sliced/writer/output.rb', line 5 def job @job end |
Instance Method Details
#<<(_) ⇒ Object
15 16 17 |
# File 'lib/rocket_job/sliced/writer/output.rb', line 15 def <<(_) # noop end |
#close ⇒ Object
19 20 21 |
# File 'lib/rocket_job/sliced/writer/output.rb', line 19 def close # noop end |