Class: Simple::SQL::Result::Rows
- Inherits:
-
Simple::SQL::Result
- Object
- Array
- Simple::SQL::Result
- Simple::SQL::Result::Rows
- Defined in:
- lib/simple/sql/result/rows.rb
Overview
rubocop:disable Metrics/AbcSize rubocop:disable Naming/AccessorMethodName
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Simple::SQL::Result
#current_page, #total_count, #total_pages
Instance Method Summary collapse
-
#initialize(records) ⇒ Rows
constructor
A new instance of Rows.
Methods inherited from Simple::SQL::Result
Constructor Details
#initialize(records) ⇒ Rows
Returns a new instance of Rows.
5 6 7 |
# File 'lib/simple/sql/result/rows.rb', line 5 def initialize(records) replace(records) end |