Class: Stoplight::Domain::LightInfo

Inherits:
Data
  • Object
show all
Includes:
_LightInfo
Defined in:
lib/stoplight/domain/light_info.rb,
sig/_private/stoplight/domain/light_info.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject



10
# File 'sig/_private/stoplight/domain/light_info.rbs', line 10

def initialize: (

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/stoplight/domain/light_info.rb', line 5

def name
  @name
end

Class Method Details

.newObject



6
# File 'sig/_private/stoplight/domain/light_info.rbs', line 6

def self.new: (

Instance Method Details

#withObject



14
# File 'sig/_private/stoplight/domain/light_info.rbs', line 14

def with: (