Module: HTMLParts
- Includes:
- TagParts
- Defined in:
- lib/tagparts.rb
Constant Summary collapse
- PARTS_1 =
copy from cgi.rb
%w{ TT I B BIG SMALL EM STRONG DFN CODE SAMP KBD VAR CITE ABBR ACRONYM SUB SUP SPAN BDO ADDRESS DIV MAP OBJECT H1 H2 H3 H4 H5 H6 PRE Q INS DEL DL OL UL LABEL SELECT OPTGROUP FIELDSET LEGEND BUTTON TABLE TITLE STYLE SCRIPT NOSCRIPT TEXTAREA FORM A BLOCKQUOTE CAPTION }
- PARTS_2 =
%w{ IMG BASE BR AREA LINK PARAM HR INPUT COL META }
- PARTS_3 =
%w{ HTML BODY P DT DD LI OPTION THEAD TFOOT TBODY COLGROUP TR TH TD HEAD }
Instance Method Summary collapse
Methods included from TagParts
#method_missing, newtag, #tag_encoding, #tree2string, #tree2string_
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class TagParts
Instance Method Details
#ignore_empty_tag? ⇒ Boolean
165 166 167 |
# File 'lib/tagparts.rb', line 165 def ignore_empty_tag? true end |
#make_unknown_tag? ⇒ Boolean
161 162 163 |
# File 'lib/tagparts.rb', line 161 def make_unknown_tag? false end |