Exception: ShareWith::InvalidValue
- Inherits:
-
StandardError
- Object
- StandardError
- ShareWith::InvalidValue
- Defined in:
- lib/share_with/utils.rb
Overview
Invalid value error.
Instance Method Summary collapse
-
#initialize(args) ⇒ InvalidValue
constructor
A new instance of InvalidValue.
Constructor Details
#initialize(args) ⇒ InvalidValue
Returns a new instance of InvalidValue.
66 67 68 |
# File 'lib/share_with/utils.rb', line 66 def initialize(args) super "Invalid value: #{args[0]}, the allowed values are: #{args[1].join(", ")}" end |