Class: WIS::DOM::Results

Inherits:
Object
  • Object
show all
Defined in:
lib/dom/results.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#hitsObject (readonly)

Returns the value of attribute hits.



2
3
4
# File 'lib/dom/results.rb', line 2

def hits
  @hits
end