Class: Stoplight::Domain::LightInfo
- Inherits:
-
Data
- Object
- Data
- Stoplight::Domain::LightInfo
- Includes:
- _LightInfo
- Defined in:
- lib/stoplight/domain/light_info.rb,
sig/_private/stoplight/domain/light_info.rbs
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #with ⇒ Object
Constructor Details
#initialize ⇒ Object
10 |
# File 'sig/_private/stoplight/domain/light_info.rbs', line 10
def initialize: (
|
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
5 6 7 |
# File 'lib/stoplight/domain/light_info.rb', line 5 def name @name end |
Class Method Details
.new ⇒ Object
6 |
# File 'sig/_private/stoplight/domain/light_info.rbs', line 6
def self.new: (
|
Instance Method Details
#with ⇒ Object
14 |
# File 'sig/_private/stoplight/domain/light_info.rbs', line 14
def with: (
|