Exception: Ifconf::InvalidSubnetMask
- Defined in:
- lib/ifconf/errors.rb
Overview
Raised when a subnet mask value is not valid.
Instance Attribute Summary collapse
-
#raw_value ⇒ Object
readonly
Returns the value of attribute raw_value.
Instance Method Summary collapse
-
#initialize(raw_value) ⇒ InvalidSubnetMask
constructor
A new instance of InvalidSubnetMask.
Constructor Details
#initialize(raw_value) ⇒ InvalidSubnetMask
Returns a new instance of InvalidSubnetMask.
29 30 31 32 |
# File 'lib/ifconf/errors.rb', line 29 def initialize(raw_value) @raw_value = raw_value super("invalid subnet mask: #{raw_value}") end |
Instance Attribute Details
#raw_value ⇒ Object (readonly)
Returns the value of attribute raw_value.
27 28 29 |
# File 'lib/ifconf/errors.rb', line 27 def raw_value @raw_value end |