Class: Wee::Brush::GenericSingleTagBrush

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

Direct Known Subclasses

ImageTag, InputTag

Constant Summary

Constants inherited from GenericTagBrush

Wee::Brush::GenericTagBrush::EVENTS

Instance Attribute Summary

Attributes inherited from Wee::Brush

#canvas, #document

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from GenericTagBrush

#callback_on, #get_oid, html_attr, #initialize, #javascript_on, #oid, #onclick_callback, #onclick_javascript, #ondblclick_callback, #update_component_on, #update_on

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)


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

def self.nesting?() false end

Instance Method Details

#withObject



180
181
182
183
# File 'lib/wee/html_brushes.rb', line 180

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