Class: Cow::Tmpl::Port
- Inherits:
-
Object
- Object
- Cow::Tmpl::Port
- Defined in:
- lib/cow/plugins/tmpl.rb
Direct Known Subclasses
ACS5000::Port, ACS6000::Port, ACS::Port, Cisco::Port, DIGI_TS::Port
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#port ⇒ Object
Returns the value of attribute port.
-
#tcp_port ⇒ Object
Returns the value of attribute tcp_port.
Instance Method Summary collapse
-
#initialize(_port, _name, _tcp_port) ⇒ Port
constructor
A new instance of Port.
Constructor Details
#initialize(_port, _name, _tcp_port) ⇒ Port
Returns a new instance of Port.
12 13 |
# File 'lib/cow/plugins/tmpl.rb', line 12 def initialize end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/cow/plugins/tmpl.rb', line 6 def name @name end |
#port ⇒ Object
Returns the value of attribute port.
6 7 8 |
# File 'lib/cow/plugins/tmpl.rb', line 6 def port @port end |
#tcp_port ⇒ Object
Returns the value of attribute tcp_port.
6 7 8 |
# File 'lib/cow/plugins/tmpl.rb', line 6 def tcp_port @tcp_port end |