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.
4 5 6 7 |
# File 'lib/activerecord-import/value_sets_parser.rb', line 4 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.
3 4 5 |
# File 'lib/activerecord-import/value_sets_parser.rb', line 3 def size @size end |