Class: Vident2::Internals::Registry::Kind
- Inherits:
-
Data
- Object
- Data
- Vident2::Internals::Registry::Kind
- Defined in:
- lib/vident2/internals/registry.rb
Overview
Per-kind metadata. ‘name` is the canonical internal key; `plural_name` / `singular_name` drive DSL method names (e.g. `stimulus_classes` / `stimulus_class` for `class_maps`); `keyed` distinguishes hash-shaped kinds (values, params, class_maps, outlets) from positional ones (controllers, actions, targets).
Instance Attribute Summary collapse
-
#keyed ⇒ Object
readonly
Returns the value of attribute keyed.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#plural_name ⇒ Object
readonly
Returns the value of attribute plural_name.
-
#singular_name ⇒ Object
readonly
Returns the value of attribute singular_name.
-
#value_class ⇒ Object
readonly
Returns the value of attribute value_class.
Instance Attribute Details
#keyed ⇒ Object (readonly)
Returns the value of attribute keyed
22 23 24 |
# File 'lib/vident2/internals/registry.rb', line 22 def keyed @keyed end |
#name ⇒ Object (readonly)
Returns the value of attribute name
22 23 24 |
# File 'lib/vident2/internals/registry.rb', line 22 def name @name end |
#plural_name ⇒ Object (readonly)
Returns the value of attribute plural_name
22 23 24 |
# File 'lib/vident2/internals/registry.rb', line 22 def plural_name @plural_name end |
#singular_name ⇒ Object (readonly)
Returns the value of attribute singular_name
22 23 24 |
# File 'lib/vident2/internals/registry.rb', line 22 def singular_name @singular_name end |
#value_class ⇒ Object (readonly)
Returns the value of attribute value_class
22 23 24 |
# File 'lib/vident2/internals/registry.rb', line 22 def value_class @value_class end |