Class: Glimmer::DSL::ShellExpression
- Inherits:
-
StaticExpression
- Object
- Expression
- StaticExpression
- Glimmer::DSL::ShellExpression
- Includes:
- ParentExpression
- Defined in:
- lib/glimmer/dsl/shell_expression.rb
Instance Method Summary collapse
Methods included from ParentExpression
Methods inherited from StaticExpression
Methods inherited from Expression
#add_content, #can_interpret?, #textual?, #widget?
Instance Method Details
#interpret(parent, keyword, *args, &block) ⇒ Object
10 11 12 13 |
# File 'lib/glimmer/dsl/shell_expression.rb', line 10 def interpret(parent, keyword, *args, &block) args = [parent] + args unless parent.nil? SWT::ShellProxy.send(:new, *args) end |