Exception: ActiveRecord::Import::ValueSetTooLargeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/activerecord-import/value_sets_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#sizeObject (readonly)

Returns the value of attribute size.



3
4
5
# File 'lib/activerecord-import/value_sets_parser.rb', line 3

def size
  @size
end