Class: Wee::Brush::GenericSingleTagBrush

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

Direct Known Subclasses

ImageTag, InputTag

Instance Attribute Summary

Attributes inherited from Wee::Brush

#canvas, #document

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from GenericTagBrush

#get_oid, html_attr, #initialize, #oid, #onclick_callback, #onclick_javascript, #onclick_update_callback, #onclick_update_self_callback, #ondblclick_callback

Methods inherited from Wee::Brush

#close, #setup

Constructor Details

This class inherits a constructor from Wee::Brush::GenericTagBrush

Class Method Details

.nesting?Boolean

Returns:

  • (Boolean)


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

def self.nesting?() false end

Instance Method Details

#withObject



153
154
155
156
# File 'lib/wee/html_brushes.rb', line 153

def with
  @document.single_tag(@tag, @attributes) 
  @document = @canvas = nil
end