Sha256: 1d3475977498998aaacf6779ef673af3af1048e3d97f05b6f22b8666ae6264f5

Contents?: true

Size: 207 Bytes

Versions: 6

Compression:

Stored size: 207 Bytes

Contents

module Glimmer
  module SWT
    class GRunnable
      include java.lang.Runnable

      def initialize(&block)
        @block = block
      end

      def run
        @block.call
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
glimmer-0.4.9 lib/glimmer/swt/g_runnable.rb
glimmer-0.4.8 lib/glimmer/swt/g_runnable.rb
glimmer-0.4.7 lib/glimmer/swt/g_runnable.rb
glimmer-0.4.6 lib/glimmer/swt/g_runnable.rb
glimmer-0.4.5 lib/glimmer/swt/g_runnable.rb
glimmer-0.4.4 lib/glimmer/swt/g_runnable.rb