Class: Glimmer::DSL::SWT::TrayItemExpression
- Inherits:
-
StaticExpression
- Object
- StaticExpression
- Glimmer::DSL::SWT::TrayItemExpression
- Includes:
- ParentExpression
- Defined in:
- lib/glimmer/dsl/swt/tray_item_expression.rb
Instance Method Summary collapse
- #can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
- #interpret(parent, keyword, *args, &block) ⇒ Object
Instance Method Details
#can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
36 37 38 39 40 |
# File 'lib/glimmer/dsl/swt/tray_item_expression.rb', line 36 def can_interpret?(parent, keyword, *args, &block) super and parent..is_a?(Shell) and args.empty? end |
#interpret(parent, keyword, *args, &block) ⇒ Object
42 43 44 |
# File 'lib/glimmer/dsl/swt/tray_item_expression.rb', line 42 def interpret(parent, keyword, *args, &block) Glimmer::SWT::TrayItemProxy.new(parent, *args) end |