Class: WIS::DOM::Results
- Inherits:
-
Object
- Object
- WIS::DOM::Results
- Defined in:
- lib/dom/results.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#hits ⇒ Object
readonly
Returns the value of attribute hits.
Instance Method Summary collapse
-
#initialize(hits) ⇒ Results
constructor
A new instance of Results.
Constructor Details
#initialize(hits) ⇒ Results
Returns a new instance of Results.
4 5 6 |
# File 'lib/dom/results.rb', line 4 def initialize(hits) @hits = hits end |
Instance Attribute Details
#hits ⇒ Object (readonly)
Returns the value of attribute hits.
2 3 4 |
# File 'lib/dom/results.rb', line 2 def hits @hits end |