Class: Wee::Brush::JavascriptTag

Inherits:
GenericTagBrush show all
Defined in:
lib/wee/renderer/html/brushes.rb

Instance Attribute Summary

Attributes inherited from Wee::Brush

#canvas, #parent

Instance Method Summary collapse

Methods inherited from GenericTagBrush

#__action_callback, #__actionurl_callback, #__actionurl_named_callback, #__input_callback, #css_class, #css_class_for, #method_missing, #onclick_callback, #onclick_update, #with

Methods inherited from Wee::Brush

#close, #with

Constructor Details

#initializeJavascriptTag

Returns a new instance of JavascriptTag.



219
220
221
222
# File 'lib/wee/renderer/html/brushes.rb', line 219

def initialize
  super("script")
  type("text/javascript")
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Wee::Brush::GenericTagBrush