Class: Mork::Data
- Inherits:
-
Object
- Object
- Mork::Data
- Defined in:
- lib/mork/data.rb
Overview
The pure data extracted from a Mork file
Instance Attribute Summary collapse
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
-
#tables ⇒ Object
readonly
Returns the value of attribute tables.
Instance Method Summary collapse
-
#initialize(rows:, tables:) ⇒ Data
constructor
A new instance of Data.
Constructor Details
#initialize(rows:, tables:) ⇒ Data
Returns a new instance of Data.
9 10 11 12 |
# File 'lib/mork/data.rb', line 9 def initialize(rows:, tables:) @rows = rows @tables = tables end |
Instance Attribute Details
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
6 7 8 |
# File 'lib/mork/data.rb', line 6 def rows @rows end |
#tables ⇒ Object (readonly)
Returns the value of attribute tables.
7 8 9 |
# File 'lib/mork/data.rb', line 7 def tables @tables end |