Class: ODDB::ChapterParse::TestParserIE::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.
127 128 129 |
# File 'ext/chapterparse/test/test_parser.rb', line 127 def initialize(*args) @font_stack = [] end |
Instance Attribute Details
#font_stack ⇒ Object
Returns the value of attribute font_stack.
126 127 128 |
# File 'ext/chapterparse/test/test_parser.rb', line 126 def font_stack @font_stack end |