Class: Wee::Brush::GenericTextBrush

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

Direct Known Subclasses

GenericEncodedTextBrush

Instance Attribute Summary

Attributes inherited from Wee::Brush

#canvas, #document

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Wee::Brush

#close, #setup

Class Method Details

.nesting?Boolean

Returns:

  • (Boolean)


38
# File 'lib/wee/html_brushes.rb', line 38

def self.nesting?() false end

Instance Method Details

#with(text) ⇒ Object



33
34
35
36
# File 'lib/wee/html_brushes.rb', line 33

def with(text)
  @document.text(text)
  @document = @canvas = nil
end