Class: Phlex::Reactive::Inspector::ComponentInfo
- Inherits:
-
Data
- Object
- Data
- Phlex::Reactive::Inspector::ComponentInfo
- Defined in:
- lib/phlex/reactive/inspector.rb
Overview
One reactive component's introspection.
* path — Object.const_source_location(name) => [file, line].
* record_key — the declared reactive_record key, or nil.
* state_keys — the declared reactive_state keys.
* actions — [ActionInfo], one per declared action.
Instance Attribute Summary collapse
-
#actions ⇒ Object
readonly
Returns the value of attribute actions.
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#record_key ⇒ Object
readonly
Returns the value of attribute record_key.
-
#state_keys ⇒ Object
readonly
Returns the value of attribute state_keys.
Instance Attribute Details
#actions ⇒ Object (readonly)
Returns the value of attribute actions
51 52 53 |
# File 'lib/phlex/reactive/inspector.rb', line 51 def actions @actions end |
#klass ⇒ Object (readonly)
Returns the value of attribute klass
51 52 53 |
# File 'lib/phlex/reactive/inspector.rb', line 51 def klass @klass end |
#name ⇒ Object (readonly)
Returns the value of attribute name
51 52 53 |
# File 'lib/phlex/reactive/inspector.rb', line 51 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path
51 52 53 |
# File 'lib/phlex/reactive/inspector.rb', line 51 def path @path end |
#record_key ⇒ Object (readonly)
Returns the value of attribute record_key
51 52 53 |
# File 'lib/phlex/reactive/inspector.rb', line 51 def record_key @record_key end |
#state_keys ⇒ Object (readonly)
Returns the value of attribute state_keys
51 52 53 |
# File 'lib/phlex/reactive/inspector.rb', line 51 def state_keys @state_keys end |