Exception: RSQL::MySQLResults::MaxRowsException
- Inherits:
-
RangeError
- Object
- RangeError
- RSQL::MySQLResults::MaxRowsException
- Defined in:
- lib/rsql/mysql_results.rb
Instance Attribute Summary collapse
-
#max ⇒ Object
readonly
Returns the value of attribute max.
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Instance Method Summary collapse
-
#initialize(rows, max) ⇒ MaxRowsException
constructor
A new instance of MaxRowsException.
Constructor Details
#initialize(rows, max) ⇒ MaxRowsException
Returns a new instance of MaxRowsException.
53 54 55 56 |
# File 'lib/rsql/mysql_results.rb', line 53 def initialize(rows, max) @rows = rows @max = max end |
Instance Attribute Details
#max ⇒ Object (readonly)
Returns the value of attribute max.
57 58 59 |
# File 'lib/rsql/mysql_results.rb', line 57 def max @max end |
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
57 58 59 |
# File 'lib/rsql/mysql_results.rb', line 57 def rows @rows end |