Class: Plushie::Route::State
- Inherits:
-
Data
- Object
- Data
- Plushie::Route::State
- Includes:
- Model::Extensions
- Defined in:
- lib/plushie/route.rb,
sig/plushie/route.rbs
Overview
Immutable route state.
Instance Attribute Summary collapse
-
#stack ⇒ Object
readonly
Returns the value of attribute stack.
Instance Method Summary collapse
-
#initialize ⇒ State
constructor
A new instance of State.
- #with ⇒ State
Constructor Details
#initialize ⇒ State
Returns a new instance of State.
6 |
# File 'sig/plushie/route.rbs', line 6
def initialize: (stack: Array[Array[untyped]]) -> void
|
Instance Attribute Details
#stack ⇒ Object (readonly)
Returns the value of attribute stack
21 22 23 |
# File 'lib/plushie/route.rb', line 21 def stack @stack end |