Method: #Stoplight

Defined in:
lib/stoplight.rb

#Stoplight(name, &code) ⇒ Object



36
37
38
# File 'lib/stoplight.rb', line 36

def Stoplight(name, &code) # rubocop:disable Style/MethodName
  Stoplight::Light.new(name, &code)
end