Class: Ruact::ServerFunctions::RegistryEntry

Inherits:
Data
  • Object
show all
Defined in:
lib/ruact/server_functions/registry_entry.rb

Overview

Immutable record describing a single registered server function. Stored by Registry; serialized into the JSON snapshot by Snapshot.

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject (readonly)

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



24
# File 'lib/ruact/server_functions/registry_entry.rb', line 24

RegistryEntry = Data.define(:ruby_symbol, :js_identifier, :kind, :controller, :block)

#controllerObject (readonly)

Returns the value of attribute controller

Returns:

  • (Object)

    the current value of controller



24
# File 'lib/ruact/server_functions/registry_entry.rb', line 24

RegistryEntry = Data.define(:ruby_symbol, :js_identifier, :kind, :controller, :block)

#js_identifierObject (readonly)

Returns the value of attribute js_identifier

Returns:

  • (Object)

    the current value of js_identifier



24
# File 'lib/ruact/server_functions/registry_entry.rb', line 24

RegistryEntry = Data.define(:ruby_symbol, :js_identifier, :kind, :controller, :block)

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



24
# File 'lib/ruact/server_functions/registry_entry.rb', line 24

RegistryEntry = Data.define(:ruby_symbol, :js_identifier, :kind, :controller, :block)

#ruby_symbolObject (readonly)

Returns the value of attribute ruby_symbol

Returns:

  • (Object)

    the current value of ruby_symbol



24
# File 'lib/ruact/server_functions/registry_entry.rb', line 24

RegistryEntry = Data.define(:ruby_symbol, :js_identifier, :kind, :controller, :block)