Class: Construqt::Addresses::Address::TagRoute
- Inherits:
-
Object
- Object
- Construqt::Addresses::Address::TagRoute
- Defined in:
- lib/construqt/addresses.rb
Overview
@nameservers = []
def add_nameserver(ip)
@nameservers << IPAddress.parse(ip)
self
end
Instance Attribute Summary collapse
-
#dst_tag ⇒ Object
readonly
Returns the value of attribute dst_tag.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#via_tag ⇒ Object
readonly
Returns the value of attribute via_tag.
Instance Method Summary collapse
-
#initialize(dst_tag, via_tag, options) ⇒ TagRoute
constructor
A new instance of TagRoute.
Constructor Details
#initialize(dst_tag, via_tag, options) ⇒ TagRoute
Returns a new instance of TagRoute.
214 215 216 217 218 |
# File 'lib/construqt/addresses.rb', line 214 def initialize(dst_tag, via_tag, ) @dst_tag = dst_tag @via_tag = via_tag @options = end |
Instance Attribute Details
#dst_tag ⇒ Object (readonly)
Returns the value of attribute dst_tag.
213 214 215 |
# File 'lib/construqt/addresses.rb', line 213 def dst_tag @dst_tag end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
213 214 215 |
# File 'lib/construqt/addresses.rb', line 213 def @options end |
#via_tag ⇒ Object (readonly)
Returns the value of attribute via_tag.
213 214 215 |
# File 'lib/construqt/addresses.rb', line 213 def via_tag @via_tag end |