Class: Wee::Brush::AnchorTag
- Inherits:
-
GenericTagBrush
- Object
- Wee::Brush
- GenericTagBrush
- Wee::Brush::AnchorTag
- Includes:
- CallbackMixin
- Defined in:
- lib/wee/html_brushes.rb
Overview
Misc
Constant Summary collapse
- HTML_TAG =
'a'.freeze
Instance Attribute Summary
Attributes inherited from Wee::Brush
Instance Method Summary collapse
- #__callback ⇒ Object
- #info(info = nil) ⇒ Object
-
#initialize ⇒ AnchorTag
constructor
A new instance of AnchorTag.
Methods included from CallbackMixin
#call, #callback, #callback_method
Methods inherited from GenericTagBrush
#get_oid, html_attr, #oid, #onclick_callback, #onclick_javascript, #onclick_update_callback, #onclick_update_self_callback, #ondblclick_callback, #with
Methods inherited from Wee::Brush
#close, nesting?, #setup, #with
Constructor Details
Instance Method Details
#__callback ⇒ Object
681 682 683 |
# File 'lib/wee/html_brushes.rb', line 681 def __callback url(@canvas.url_for_callback(@callback, :action, @info ? {:info => @info} : {})) end |
#info(info = nil) ⇒ Object
674 675 676 677 |
# File 'lib/wee/html_brushes.rb', line 674 def info(info=nil) @info = info self end |