Class: ODDB::ChapterParse::TestParserGecko::Formatter
- Inherits:
-
NullFormatter
- Object
- NullFormatter
- ODDB::ChapterParse::TestParserGecko::Formatter
- Defined in:
- ext/chapterparse/test/test_parser.rb
Instance Attribute Summary collapse
-
#font_stack ⇒ Object
Returns the value of attribute font_stack.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Formatter
constructor
A new instance of Formatter.
- #pop_font ⇒ Object
- #push_font(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Formatter
Returns a new instance of Formatter.
19 20 21 |
# File 'ext/chapterparse/test/test_parser.rb', line 19 def initialize(*args) @font_stack = [] end |
Instance Attribute Details
#font_stack ⇒ Object
Returns the value of attribute font_stack.
18 19 20 |
# File 'ext/chapterparse/test/test_parser.rb', line 18 def font_stack @font_stack end |