Class: Inforouter::PropertyRow

Inherits:
Record
  • Object
show all
Defined in:
lib/inforouter/property_row.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ PropertyRow

Returns a new instance of PropertyRow.



6
7
8
9
# File 'lib/inforouter/property_row.rb', line 6

def initialize(params = {})
  params = { index: 0 }.merge(params)
  super params
end

Instance Attribute Details

#indexObject

Property row index.



4
5
6
# File 'lib/inforouter/property_row.rb', line 4

def index
  @index
end