Class: Yiban::Text
Instance Method Summary collapse
-
#initialize(text) ⇒ Text
constructor
A new instance of Text.
Methods inherited from Base
Constructor Details
#initialize(text) ⇒ Text
Returns a new instance of Text.
5 6 7 8 |
# File 'lib/yiban/text.rb', line 5 def initialize(text) @text = text @size = 50 end |