Module: Stoplight::_Light
- Included in:
- Domain::Light
- Defined in:
- sig/stoplight/ports/light.rbs
Instance Method Summary collapse
- #== ⇒ Boolean
- #color ⇒ color
- #lock ⇒ _Light
- #name ⇒ String
- #run ⇒ void
- #state ⇒ state
- #unlock ⇒ _Light
Instance Method Details
#== ⇒ Boolean
10 |
# File 'sig/stoplight/ports/light.rbs', line 10
def ==: (untyped) -> bool
|
#name ⇒ String
3 |
# File 'sig/stoplight/ports/light.rbs', line 3
def name: -> String
|
#run ⇒ void
This method returns an undefined value.
7 |
# File 'sig/stoplight/ports/light.rbs', line 7
def run: [T] (?(^(StandardError?) -> T)?) { () -> T } -> T
|