Class: OldSql::ReportDesign::Model
- Inherits:
-
Object
- Object
- OldSql::ReportDesign::Model
- Defined in:
- lib/old_sql/report_design/model.rb
Instance Attribute Summary collapse
-
#rows ⇒ Object
Returns the value of attribute rows.
Instance Method Summary collapse
- #add(row) ⇒ Object
-
#initialize(value = []) ⇒ Model
constructor
A new instance of Model.
- #row(index) ⇒ Object
Constructor Details
#initialize(value = []) ⇒ Model
Returns a new instance of Model.
8 9 10 |
# File 'lib/old_sql/report_design/model.rb', line 8 def initialize(value = []) @rows = value end |
Instance Attribute Details
#rows ⇒ Object
Returns the value of attribute rows.
4 5 6 |
# File 'lib/old_sql/report_design/model.rb', line 4 def rows @rows end |