Class: IndeedResult
- Inherits:
-
Array
- Object
- Array
- IndeedResult
- Defined in:
- lib/indeed.rb
Instance Attribute Summary collapse
-
#total ⇒ Object
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(array, total) ⇒ IndeedResult
constructor
A new instance of IndeedResult.
Constructor Details
#initialize(array, total) ⇒ IndeedResult
Returns a new instance of IndeedResult.
111 112 113 114 |
# File 'lib/indeed.rb', line 111 def initialize(array, total) super(array) self.total = total end |
Instance Attribute Details
#total ⇒ Object
Returns the value of attribute total.
109 110 111 |
# File 'lib/indeed.rb', line 109 def total @total end |