Sha256: 151cd53d00a3ce26c951bc7d71417991b5133c71b74e1937aa2f59d0368a59a9

Contents?: true

Size: 543 Bytes

Versions: 36

Compression:

Stored size: 543 Bytes

Contents

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

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

        def interpret(parent, keyword, *args, &block)
          parent = args.delete_at(0) if !textual?(args.first)
          Glimmer::SWT::MessageBoxProxy.new(parent, args)
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
glimmer-dsl-opal-0.28.3 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.28.2 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.28.1 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.28.0 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.27.0 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.26.3 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.26.2 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.26.1 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.26.0 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.25.4 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.25.3 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.25.2 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.25.1 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.25.0 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.24.0 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.23.0 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.22.1 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.22.0 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.21.0 lib/glimmer/dsl/opal/message_box_expression.rb
glimmer-dsl-opal-0.20.1 lib/glimmer/dsl/opal/message_box_expression.rb