Class: Cow::Tmpl::Port

Inherits:
Object
  • Object
show all
Defined in:
lib/cow/plugins/tmpl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_port, _name, _tcp_port) ⇒ Port

Returns a new instance of Port.

Raises:

  • (ArgumentError)


12
13
# File 'lib/cow/plugins/tmpl.rb', line 12

def initialize
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/cow/plugins/tmpl.rb', line 6

def name
  @name
end

#portObject

Returns the value of attribute port.



6
7
8
# File 'lib/cow/plugins/tmpl.rb', line 6

def port
  @port
end

#tcp_portObject

Returns the value of attribute tcp_port.



6
7
8
# File 'lib/cow/plugins/tmpl.rb', line 6

def tcp_port
  @tcp_port
end