class Object

Public Instance Methods

Stoplight(name, &code) click to toggle source

@see Stoplight::Light#initialize

# File lib/stoplight.rb, line 38
def Stoplight(name, &code) # rubocop:disable Style/MethodName
  Stoplight::Light.new(name, &code)
end