Class: DataPipe2::Jobs
- Inherits:
-
Object
- Object
- DataPipe2::Jobs
- Defined in:
- lib/jobs.rb
Overview
Hold all jobs
Instance Attribute Summary collapse
-
#byName ⇒ Object
readonly
Returns the value of attribute byName.
-
#hash ⇒ Object
readonly
Returns the value of attribute hash.
Instance Method Summary collapse
- #call(path) ⇒ Object
-
#initialize ⇒ Jobs
constructor
A new instance of Jobs.
Constructor Details
#initialize ⇒ Jobs
Returns a new instance of Jobs.
67 68 69 70 |
# File 'lib/jobs.rb', line 67 def initialize @hash = {} @by_name = {} end |
Instance Attribute Details
#byName ⇒ Object (readonly)
Returns the value of attribute byName.
65 66 67 |
# File 'lib/jobs.rb', line 65 def byName @byName end |
#hash ⇒ Object (readonly)
Returns the value of attribute hash.
65 66 67 |
# File 'lib/jobs.rb', line 65 def hash @hash end |