Class: Stoplight::Wiring::System::LightFactory::InternalLightFactory Private

Inherits:
LightFactory
  • Object
show all
Defined in:
lib/stoplight/wiring/system/light_factory.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary

Constants inherited from LightFactory

LightFactory::TrafficControlDsl, LightFactory::TrafficRecoveryDsl

Instance Method Summary collapse

Methods inherited from LightFactory

#==, #build, #build_with, #hash

Constructor Details

#initializeInternalLightFactory

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of InternalLightFactory.



49
50
# File 'lib/stoplight/wiring/system/light_factory.rb', line 49

def initialize
end

Instance Method Details

#with(**untyped) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

steep:ignore

Raises:

  • (NotImplementedError)


52
53
54
# File 'lib/stoplight/wiring/system/light_factory.rb', line 52

def with(**untyped) # steep:ignore
  raise NotImplementedError, "You're not allowed to extend system lights"
end