class SmartEnum::RegistrationError

Attributes

attributes[R]
type[R]

Public Class Methods

new(info=nil, type: nil, attributes:{}) click to toggle source
Calls superclass method
# File lib/smart_enum.rb, line 182
def initialize(info=nil, type: nil, attributes:{})
  @info = info
  @type = type
  @attributes = attributes
  super("Failed to register enum #{@type} with attributes: #{@attributes}. #{@info}")
end