Class: Wee::Brush::GenericEncodedTextBrush
- Inherits:
-
GenericTextBrush
- Object
- Wee::Brush
- GenericTextBrush
- Wee::Brush::GenericEncodedTextBrush
- Defined in:
- lib/wee/html_brushes.rb
Instance Attribute Summary
Attributes inherited from Wee::Brush
Instance Method Summary collapse
Methods inherited from GenericTextBrush
Methods inherited from Wee::Brush
Instance Method Details
#with(text) ⇒ Object
42 43 44 45 |
# File 'lib/wee/html_brushes.rb', line 42 def with(text) @document.encode_text(text) @document = @canvas = nil end |