Class: DatabaseHelper::QuillQueryResults
- Inherits:
-
Object
- Object
- DatabaseHelper::QuillQueryResults
- Defined in:
- lib/db/db_helper.rb
Instance Attribute Summary collapse
-
#fields ⇒ Object
readonly
Returns the value of attribute fields.
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Instance Method Summary collapse
-
#initialize(fields, rows) ⇒ QuillQueryResults
constructor
A new instance of QuillQueryResults.
Constructor Details
#initialize(fields, rows) ⇒ QuillQueryResults
Returns a new instance of QuillQueryResults.
11 12 13 14 |
# File 'lib/db/db_helper.rb', line 11 def initialize(fields, rows) @fields = fields @rows = rows end |
Instance Attribute Details
#fields ⇒ Object (readonly)
Returns the value of attribute fields.
9 10 11 |
# File 'lib/db/db_helper.rb', line 9 def fields @fields end |
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
9 10 11 |
# File 'lib/db/db_helper.rb', line 9 def rows @rows end |