Exception: Ifconf::InvalidInterfaceName
- Defined in:
- lib/ifconf/errors.rb
Overview
Raised when an interface name contains invalid characters.
Instance Attribute Summary collapse
-
#raw_value ⇒ Object
readonly
Returns the value of attribute raw_value.
Instance Method Summary collapse
-
#initialize(raw_value) ⇒ InvalidInterfaceName
constructor
A new instance of InvalidInterfaceName.
Constructor Details
#initialize(raw_value) ⇒ InvalidInterfaceName
Returns a new instance of InvalidInterfaceName.
39 40 41 42 |
# File 'lib/ifconf/errors.rb', line 39 def initialize(raw_value) @raw_value = raw_value super("invalid interface name: #{raw_value}") end |
Instance Attribute Details
#raw_value ⇒ Object (readonly)
Returns the value of attribute raw_value.
37 38 39 |
# File 'lib/ifconf/errors.rb', line 37 def raw_value @raw_value end |