Class: Interfacets::Test::Js::Receivers::React
- Inherits:
-
Object
- Object
- Interfacets::Test::Js::Receivers::React
- Defined in:
- lib/interfacets/test/js/receivers/react.rb,
lib/interfacets/test/js/receivers/react/node.rb,
lib/interfacets/test/js/receivers/react/node/xml_parser.rb
Defined Under Namespace
Classes: Node
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#validation_engine ⇒ Object
readonly
Returns the value of attribute validation_engine.
Instance Method Summary collapse
- #handler ⇒ Object
-
#initialize(name:, validation_engine: nil) ⇒ React
constructor
A new instance of React.
- #receive(payload:, dispatch:) ⇒ Object
Constructor Details
#initialize(name:, validation_engine: nil) ⇒ React
Returns a new instance of React.
12 13 14 15 16 |
# File 'lib/interfacets/test/js/receivers/react.rb', line 12 def initialize(name:, validation_engine: nil) @name = name @validation_engine = validation_engine @actions = {} end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
11 12 13 |
# File 'lib/interfacets/test/js/receivers/react.rb', line 11 def name @name end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
11 12 13 |
# File 'lib/interfacets/test/js/receivers/react.rb', line 11 def node @node end |
#validation_engine ⇒ Object (readonly)
Returns the value of attribute validation_engine.
11 12 13 |
# File 'lib/interfacets/test/js/receivers/react.rb', line 11 def validation_engine @validation_engine end |
Instance Method Details
#handler ⇒ Object
25 26 27 |
# File 'lib/interfacets/test/js/receivers/react.rb', line 25 def handler @node end |