Class: Glimmer::DSL::ShellExpression

Inherits:
StaticExpression show all
Includes:
ParentExpression
Defined in:
lib/glimmer/dsl/shell_expression.rb

Instance Method Summary collapse

Methods included from ParentExpression

#add_content

Methods inherited from StaticExpression

#can_interpret?, inherited

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