Class: MaquinaStream::Element

Inherits:
Struct
  • Object
show all
Defined in:
lib/maquina_stream/registries.rb

Overview

One registered element override: the element name, and the options it was registered with. See Registries#register_element.

Instance Attribute Summary collapse

Instance Attribute Details

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



6
7
8
# File 'lib/maquina_stream/registries.rb', line 6

def name
  @name
end

#options ⇒ Object

Returns the value of attribute options

Returns:

  • (Object) —

    the current value of options



6
7
8
# File 'lib/maquina_stream/registries.rb', line 6

def options
  @options
end