lib/rubygoo/label.rb in rubygoo-0.0.7 vs lib/rubygoo/label.rb in rubygoo-0.0.8
- old
+ new
@@ -1,7 +1,8 @@
require 'publisher'
module Rubygoo
class Label < Widget
+ attr_reader :text
def initialize(text, opts={})
@font_size = opts[:font_size]
super opts
@text = text
end