Top Level Namespace

Defined Under Namespace

Modules: Stoplight

Instance Method Summary collapse

Instance Method Details

#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