Exception: Rus3::IntegerRequiredError

Inherits:
Error
  • Object
show all
Defined in:
lib/rus3/error.rb

Constant Summary

Constants inherited from Error

Error::A2L_MAP

Constants included from EmptyList

EmptyList::EMPTY_LIST

Instance Method Summary collapse

Methods inherited from Error

#smart_error_value

Methods included from EmptyList

#null?

Constructor Details

#initialize(obj) ⇒ IntegerRequiredError

Returns a new instance of IntegerRequiredError.



62
63
64
# File 'lib/rus3/error.rb', line 62

def initialize(obj)
  super(EMSG[:integer_required] % smart_error_value(obj))
end