Class: DatabaseHelper::QuillQueryResults

Inherits:
Object
  • Object
show all
Defined in:
lib/db/db_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fieldsObject (readonly)

Returns the value of attribute fields.



9
10
11
# File 'lib/db/db_helper.rb', line 9

def fields
  @fields
end

#rowsObject (readonly)

Returns the value of attribute rows.



9
10
11
# File 'lib/db/db_helper.rb', line 9

def rows
  @rows
end