Exception: Ridley::Errors::CommandNotProvided
- Inherits:
-
RemoteCommandError
- Object
- StandardError
- RidleyError
- RemoteCommandError
- Ridley::Errors::CommandNotProvided
- Defined in:
- lib/ridley/errors.rb
Instance Attribute Summary collapse
-
#connector_type ⇒ Object
readonly
Returns the value of attribute connector_type.
Instance Method Summary collapse
-
#initialize(connector_type) ⇒ CommandNotProvided
constructor
A new instance of CommandNotProvided.
- #to_s ⇒ Object
Constructor Details
#initialize(connector_type) ⇒ CommandNotProvided
Returns a new instance of CommandNotProvided.
59 60 61 |
# File 'lib/ridley/errors.rb', line 59 def initialize(connector_type) @connector_type = connector_type end |
Instance Attribute Details
#connector_type ⇒ Object (readonly)
Returns the value of attribute connector_type.
56 57 58 |
# File 'lib/ridley/errors.rb', line 56 def connector_type @connector_type end |
Instance Method Details
#to_s ⇒ Object
63 64 65 |
# File 'lib/ridley/errors.rb', line 63 def to_s "No command provided in #{connector_type.inspect}, however the #{connector_type.inspect} connector was selected." end |