Class: Microformats::ParserCore
- Inherits:
-
Object
- Object
- Microformats::ParserCore
- Defined in:
- lib/microformats/parser_core.rb
Direct Known Subclasses
Constant Summary collapse
- VALUE_CLASS_REG_EXP =
/^value$/
- VALUE_TITLE_CLASS_REG_EXP =
/^value-title$/
- FORMAT_CLASS_REG_EXP =
/^h-[a-z-]+$/
- PROPERTY_CLASS_REG_EXP =
/^(p-|u-|dt-|e-)[a-z-]+$/
Instance Method Summary collapse
-
#initialize ⇒ ParserCore
constructor
A new instance of ParserCore.
Constructor Details
#initialize ⇒ ParserCore
Returns a new instance of ParserCore.
8 9 10 11 |
# File 'lib/microformats/parser_core.rb', line 8 def initialize @mode_backcompat = false @fmt_classes = [] end |