Class: Plushie::CanvasWidget::RegistryEntry
- Inherits:
-
Data
- Object
- Data
- Plushie::CanvasWidget::RegistryEntry
- Defined in:
- lib/plushie/canvas_widget.rb
Overview
A registry entry for a canvas widget instance.
Instance Attribute Summary collapse
-
#props ⇒ Object
readonly
Returns the value of attribute props.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#widget_module ⇒ Object
readonly
Returns the value of attribute widget_module.
Instance Method Summary collapse
-
#initialize(widget_module:, state:, props:) ⇒ RegistryEntry
constructor
A new instance of RegistryEntry.
Constructor Details
#initialize(widget_module:, state:, props:) ⇒ RegistryEntry
Returns a new instance of RegistryEntry.
117 118 119 |
# File 'lib/plushie/canvas_widget.rb', line 117 def initialize(widget_module:, state:, props:) super end |
Instance Attribute Details
#props ⇒ Object (readonly)
Returns the value of attribute props
116 117 118 |
# File 'lib/plushie/canvas_widget.rb', line 116 def props @props end |
#state ⇒ Object (readonly)
Returns the value of attribute state
116 117 118 |
# File 'lib/plushie/canvas_widget.rb', line 116 def state @state end |
#widget_module ⇒ Object (readonly)
Returns the value of attribute widget_module
116 117 118 |
# File 'lib/plushie/canvas_widget.rb', line 116 def @widget_module end |