lib/shoes/swt/radio_group.rb in shoes-swt-4.0.0.pre6 vs lib/shoes/swt/radio_group.rb in shoes-swt-4.0.0.pre7
- old
+ new
@@ -5,10 +5,10 @@
# we simulate radio groups so that they can all be in one composite.
class RadioGroup
extend Forwardable
include Enumerable
- DEFAULT_RADIO_GROUP = "Default Radio Group"
+ DEFAULT_RADIO_GROUP = "Default Radio Group".freeze
@group_lookup = Hash.new { |h, k| h[k] = RadioGroup.new(k) }
attr_reader :name
def_delegators :@radio_buttons, :each, :length, :empty?