Class: Portless::RouteStore::Route
- Inherits:
-
Struct
- Object
- Struct
- Portless::RouteStore::Route
- Defined in:
- lib/portless/route_store.rb
Instance Attribute Summary collapse
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#pid ⇒ Object
Returns the value of attribute pid.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#alias? ⇒ Boolean
pid 0 = static alias (never reaped).
Instance Attribute Details
#hostname ⇒ Object
Returns the value of attribute hostname
12 13 14 |
# File 'lib/portless/route_store.rb', line 12 def hostname @hostname end |
#pid ⇒ Object
Returns the value of attribute pid
12 13 14 |
# File 'lib/portless/route_store.rb', line 12 def pid @pid end |
#port ⇒ Object
Returns the value of attribute port
12 13 14 |
# File 'lib/portless/route_store.rb', line 12 def port @port end |
Instance Method Details
#alias? ⇒ Boolean
pid 0 = static alias (never reaped)
13 |
# File 'lib/portless/route_store.rb', line 13 def alias? = pid.to_i.zero? # pid 0 = static alias (never reaped) |