Class: Shoes::Text

Inherits:
Object show all
Defined in:
lib/shoes/text.rb

Direct Known Subclasses

Link, LinkHover

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Text) initialize(str)



43
44
45
# File 'lib/shoes/text.rb', line 43

def initialize str
  @to_s = str
end

Instance Attribute Details

- (Object) to_s (readonly)

Returns the value of attribute to_s



46
47
48
# File 'lib/shoes/text.rb', line 46

def to_s
  @to_s
end