Class: RelatonW3c::Hit
- Inherits:
-
Object
- Object
- RelatonW3c::Hit
- Defined in:
- lib/relaton_w3c/hit.rb
Instance Method Summary collapse
-
#initialize(rows) ⇒ Hit
constructor
A new instance of Hit.
Constructor Details
#initialize(rows) ⇒ Hit
Returns a new instance of Hit.
3 4 5 |
# File 'lib/relaton_w3c/hit.rb', line 3 def initialize(rows) @array = rows.map { |r| Hit.new(**r) } end |