Exception: ActiveRecord::Import::ValueSetTooLargeError
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveRecord::Import::ValueSetTooLargeError
- Defined in:
- lib/activerecord-import/value_sets_parser.rb
Instance Attribute Summary collapse
-
#size ⇒ Object
readonly
Returns the value of attribute size.
Instance Method Summary collapse
-
#initialize(msg = "Value set exceeds max size", size = 0) ⇒ ValueSetTooLargeError
constructor
A new instance of ValueSetTooLargeError.
Constructor Details
#initialize(msg = "Value set exceeds max size", size = 0) ⇒ ValueSetTooLargeError
Returns a new instance of ValueSetTooLargeError.
9 10 11 12 |
# File 'lib/activerecord-import/value_sets_parser.rb', line 9 def initialize(msg = "Value set exceeds max size", size = 0) @size = size super(msg) end |
Instance Attribute Details
#size ⇒ Object (readonly)
Returns the value of attribute size.
7 8 9 |
# File 'lib/activerecord-import/value_sets_parser.rb', line 7 def size @size end |