Class: Construqt::Flavour::Ubuntu::Vrrp::RouteService
- Inherits:
-
Object
- Object
- Construqt::Flavour::Ubuntu::Vrrp::RouteService
- Defined in:
- lib/construqt/flavour/ubuntu/flavour_ubuntu_vrrp.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#rt ⇒ Object
Returns the value of attribute rt.
Instance Method Summary collapse
-
#initialize(name, rt) ⇒ RouteService
constructor
A new instance of RouteService.
Constructor Details
#initialize(name, rt) ⇒ RouteService
20 21 22 23 |
# File 'lib/construqt/flavour/ubuntu/flavour_ubuntu_vrrp.rb', line 20 def initialize(name, rt) self.name = name self.rt = rt end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
19 20 21 |
# File 'lib/construqt/flavour/ubuntu/flavour_ubuntu_vrrp.rb', line 19 def name @name end |
#rt ⇒ Object
Returns the value of attribute rt.
19 20 21 |
# File 'lib/construqt/flavour/ubuntu/flavour_ubuntu_vrrp.rb', line 19 def rt @rt end |