Class: Eg::AllPairs::Var
- Inherits:
-
Object
- Object
- Eg::AllPairs::Var
- Defined in:
- lib/eg/all_pairs.rb
Overview
Helper classes
Instance Attribute Summary collapse
-
#files ⇒ Object
Returns the value of attribute files.
-
#index ⇒ Object
Returns the value of attribute index.
-
#items ⇒ Object
Returns the value of attribute items.
Instance Method Summary collapse
-
#initialize(index, files) ⇒ Var
constructor
A new instance of Var.
Constructor Details
#initialize(index, files) ⇒ Var
Returns a new instance of Var.
132 133 134 135 |
# File 'lib/eg/all_pairs.rb', line 132 def initialize index, files @index, @files = index, files @items = [] end |
Instance Attribute Details
#files ⇒ Object
Returns the value of attribute files.
130 131 132 |
# File 'lib/eg/all_pairs.rb', line 130 def files @files end |
#index ⇒ Object
Returns the value of attribute index.
131 132 133 |
# File 'lib/eg/all_pairs.rb', line 131 def index @index end |
#items ⇒ Object
Returns the value of attribute items.
130 131 132 |
# File 'lib/eg/all_pairs.rb', line 130 def items @items end |