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.



12
13
14
15
# File 'lib/db/db_helper.rb', line 12

def initialize(fields, rows)
  @fields = fields
  @rows = rows
end

Instance Attribute Details

#fieldsObject (readonly)

Returns the value of attribute fields.



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

def fields
  @fields
end

#rowsObject (readonly)

Returns the value of attribute rows.



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

def rows
  @rows
end