Class: Wee::Brush::GenericEncodedTextBrush

Inherits:
GenericTextBrush show all
Defined in:
lib/wee/html_brushes.rb

Instance Attribute Summary

Attributes inherited from Wee::Brush

#canvas, #document

Instance Method Summary collapse

Methods inherited from GenericTextBrush

nesting?

Methods inherited from Wee::Brush

#close, nesting?, #setup

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