Class: Glimmer::DSL::SWT::ObserveExpression
- Inherits:
-
StaticExpression
- Object
- StaticExpression
- Glimmer::DSL::SWT::ObserveExpression
- Includes:
- ObserveExpression, TopLevelExpression
- Defined in:
- lib/glimmer/dsl/web/observe_expression.rb
Instance Method Summary collapse
Instance Method Details
#interpret(parent, keyword, *args, &block) ⇒ Object
34 35 36 37 38 |
# File 'lib/glimmer/dsl/web/observe_expression.rb', line 34 def interpret(parent, keyword, *args, &block) observer_registration = super(parent, keyword, *args, &block) Glimmer::Web::Component.interpretation_stack.last&.observer_registrations&.push(observer_registration) observer_registration end |