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.28.3 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.28.2 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.28.1 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.28.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.27.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.26.3 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.26.2 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.26.1 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.26.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.25.4 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.25.3 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.25.2 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.25.1 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.25.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.24.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.23.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.22.1 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.22.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.21.0 lib/glimmer/dsl/opal/dialog_expression.rb
glimmer-dsl-opal-0.20.1 lib/glimmer/dsl/opal/dialog_expression.rb