Class: Vident2::Internals::Registry::Kind

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#keyedObject (readonly)

Returns the value of attribute keyed

Returns:

  • (Object)

    the current value of keyed



22
23
24
# File 'lib/vident2/internals/registry.rb', line 22

def keyed
  @keyed
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



22
23
24
# File 'lib/vident2/internals/registry.rb', line 22

def name
  @name
end

#plural_nameObject (readonly)

Returns the value of attribute plural_name

Returns:

  • (Object)

    the current value of plural_name



22
23
24
# File 'lib/vident2/internals/registry.rb', line 22

def plural_name
  @plural_name
end

#singular_nameObject (readonly)

Returns the value of attribute singular_name

Returns:

  • (Object)

    the current value of singular_name



22
23
24
# File 'lib/vident2/internals/registry.rb', line 22

def singular_name
  @singular_name
end

#value_classObject (readonly)

Returns the value of attribute value_class

Returns:

  • (Object)

    the current value of value_class



22
23
24
# File 'lib/vident2/internals/registry.rb', line 22

def value_class
  @value_class
end