Sha256: 5f5642d2c55d8fd0c148ae9ee3647b82b454d3409bceddfa9f3dc5a377e4080a

Contents?: true

Size: 505 Bytes

Versions: 37

Compression:

Stored size: 505 Bytes

Contents

require 'glimmer/dsl/static_expression'
require 'glimmer/dsl/top_level_expression'
require 'glimmer/dsl/parent_expression'
require 'glimmer/swt/dialog_proxy'

module Glimmer
  module DSL
    module Opal
      class DialogExpression < StaticExpression
        include TopLevelExpression
        include ParentExpression

        def interpret(parent, keyword, *args, &block)
          parent = args.delete_at(0)
          Glimmer::SWT::DialogProxy.new(parent, args)
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
glimmer-dsl-opal-0.20.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.19.1 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.19.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.18.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.17.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.16.2 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.16.1 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.16.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.15.1 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.14.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.13.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.12.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.11.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.10.3 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.10.2 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.10.1 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.10.0 lib/glimmer/dsl/opal/dialog_expression.rb