Exception: Commandable::AccessorError
- Inherits:
-
StandardError
- Object
- StandardError
- Commandable::AccessorError
- Defined in:
- lib/commandable/exceptions.rb
Overview
A programmer’s error raised if the list of commands is accessed using something other than a string or :symbol This is meant to catch meta-programming errors.
Instance Method Summary collapse
-
#initialize(msg = "You may only access Commandable[] using a string or :symbol") ⇒ AccessorError
constructor
Create a new instance of the AccessorError class.
Constructor Details
#initialize(msg = "You may only access Commandable[] using a string or :symbol") ⇒ AccessorError
Create a new instance of the AccessorError class
18 19 20 |
# File 'lib/commandable/exceptions.rb', line 18 def initialize(msg = "You may only access Commandable[] using a string or :symbol" ) super(msg) end |