Class: Bbcode::AbstractHandler
- Inherits:
-
Object
- Object
- Bbcode::AbstractHandler
- Defined in:
- lib/bbcode/abstract_handler.rb
Instance Method Summary collapse
- #continue_element(tagname) ⇒ Object
- #end_element(tagname, source = nil) ⇒ Object
- #interrupt_element(tagname) ⇒ Object
- #restart_element(tagname, attributes = {}, source = nil) ⇒ Object
- #start_element(tagname, attributes = {}, source = nil) ⇒ Object
- #text(text) ⇒ Object
- #void_element(tagname, attributes = {}, source = nil) ⇒ Object
Instance Method Details
#continue_element(tagname) ⇒ Object
7 |
# File 'lib/bbcode/abstract_handler.rb', line 7 def continue_element(tagname); end |
#end_element(tagname, source = nil) ⇒ Object
4 |
# File 'lib/bbcode/abstract_handler.rb', line 4 def end_element(tagname, source = nil); end |
#interrupt_element(tagname) ⇒ Object
6 |
# File 'lib/bbcode/abstract_handler.rb', line 6 def interrupt_element(tagname); end |
#restart_element(tagname, attributes = {}, source = nil) ⇒ Object
9 10 11 12 |
# File 'lib/bbcode/abstract_handler.rb', line 9 def restart_element(tagname, attributes = {}, source = nil) end_element tagname start_element tagname, attributes, source end |
#start_element(tagname, attributes = {}, source = nil) ⇒ Object
3 |
# File 'lib/bbcode/abstract_handler.rb', line 3 def start_element(tagname, attributes = {}, source = nil); end |
#text(text) ⇒ Object
5 |
# File 'lib/bbcode/abstract_handler.rb', line 5 def text(text); end |
#void_element(tagname, attributes = {}, source = nil) ⇒ Object
14 15 16 17 |
# File 'lib/bbcode/abstract_handler.rb', line 14 def void_element(tagname, attributes = {}, source = nil) start_element tagname, attributes, source end_element tagname end |