Sha256: 083eb7e2f74663eab853e59f251129bc00865b5fabd918c9f2fb9b14bb2cb4a8
Contents?: true
Size: 242 Bytes
Versions: 15
Compression:
Stored size: 242 Bytes
Contents
require 'swing/attr_setter' module Swing class Menu < javax.swing.JMenu include AttrSetter def initialize text, opts = {} set_attributes(opts) { super text } opts[:parent].add self if opts[:parent] end end end
Version data entries
15 entries across 15 versions & 1 rubygems