Sha256: 9975ee67e2b3f335d180ffcba7dc7f9e796b999dbeb3f1ada747c5c7a1aadfaa

Contents?: true

Size: 392 Bytes

Versions: 7

Compression:

Stored size: 392 Bytes

Contents

require 'glimmer/dsl/static_expression'
require 'glimmer/dsl/parent_expression'
require 'glimmer/swt/shell_proxy'

module Glimmer
  module DSL
    class ShellExpression < StaticExpression
      include ParentExpression

      def interpret(parent, keyword, *args, &block)
        args = [parent] + args unless parent.nil?
        SWT::ShellProxy.send(:new, *args)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
glimmer-0.5.11 lib/glimmer/dsl/shell_expression.rb
glimmer-0.5.10 lib/glimmer/dsl/shell_expression.rb
glimmer-0.5.9 lib/glimmer/dsl/shell_expression.rb
glimmer-0.5.8 lib/glimmer/dsl/shell_expression.rb
glimmer-0.5.7 lib/glimmer/dsl/shell_expression.rb
glimmer-0.5.6 lib/glimmer/dsl/shell_expression.rb
glimmer-0.5.5 lib/glimmer/dsl/shell_expression.rb