Class: Nginx::Listen
- Inherits:
-
Object
- Object
- Nginx::Listen
- Defined in:
- lib/shared_infrastructure/nginx/listen.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(port) ⇒ Listen
constructor
A new instance of Listen.
- #to_s(level = 0) ⇒ Object
Constructor Details
#initialize(port) ⇒ Listen
Returns a new instance of Listen.
5 6 7 |
# File 'lib/shared_infrastructure/nginx/listen.rb', line 5 def initialize(port) @port = port end |