Sha256: dae20de6828005ea86abfc46ac5ba0975898d78ee1f7162a84ae203ef237650d

Contents?: true

Size: 233 Bytes

Versions: 6

Compression:

Stored size: 233 Bytes

Contents

class Shoes
  module Swt
    class SelectionListener
      def initialize(radio, &blk)
        @radio = radio
        @blk = blk
      end

      def widget_selected(event)
        @blk.call @radio, event
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shoes-swt-4.0.0.pre8 lib/shoes/swt/common/selection_listener.rb
shoes-swt-4.0.0.pre7 lib/shoes/swt/common/selection_listener.rb
shoes-swt-4.0.0.pre6 lib/shoes/swt/common/selection_listener.rb
shoes-swt-4.0.0.pre5 lib/shoes/swt/common/selection_listener.rb
shoes-swt-4.0.0.pre4 lib/shoes/swt/common/selection_listener.rb
shoes-swt-4.0.0.pre3 lib/shoes/swt/common/selection_listener.rb