Class: OodCore::Job::ArrayIds
- Inherits:
-
Object
- Object
- OodCore::Job::ArrayIds
- Defined in:
- lib/ood_core/job/array_ids.rb
Defined Under Namespace
Classes: Error
Instance Attribute Summary collapse
-
#ids ⇒ Object
readonly
Returns the value of attribute ids.
Instance Method Summary collapse
-
#initialize(spec_string) ⇒ ArrayIds
constructor
A new instance of ArrayIds.
Constructor Details
#initialize(spec_string) ⇒ ArrayIds
Returns a new instance of ArrayIds.
16 17 18 19 20 21 22 |
# File 'lib/ood_core/job/array_ids.rb', line 16 def initialize(spec_string) @ids = [] begin parse_spec_string(spec_string) if spec_string rescue Error end end |
Instance Attribute Details
#ids ⇒ Object (readonly)
Returns the value of attribute ids.
15 16 17 |
# File 'lib/ood_core/job/array_ids.rb', line 15 def ids @ids end |