Sha256: 28844f556a3cd0416825891f1f1f00656695ddfb8cb72e376664d7c253a9ce6c

Contents?: true

Size: 342 Bytes

Versions: 4

Compression:

Stored size: 342 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)
        SWT::ShellProxy.send(:new, *args)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glimmer-0.5.4 lib/glimmer/dsl/shell_expression.rb
glimmer-0.5.3 lib/glimmer/dsl/shell_expression.rb
glimmer-0.5.2 lib/glimmer/dsl/shell_expression.rb
glimmer-0.5.0 lib/glimmer/dsl/shell_expression.rb