Class: Coradoc::Parser::Base
- Inherits:
-
Parslet::Parser
- Object
- Parslet::Parser
- Coradoc::Parser::Base
- Defined in:
- lib/coradoc/parser/base.rb
Class Method Summary collapse
Methods included from Asciidoc::Section
#fifth_level_section, #fourth_level_section, #second_level_section, #section, #section_block, #section_id, #section_title, #sixth_level_section, #sub_section, #third_level_section
Methods included from Asciidoc::Content
#asciidoc_char, #asciidoc_char_with_id, #block, #block_style, #block_title, #block_type, #cell_content, #contents, #definition_list, #dlist_item, #empty_cell_content, #example_block, #glossaries, #glossary, #highlight, #highlight_text, #list, #literal_space, #literal_space?, #olist_item, #ordered_list, #paragraph, #paragraph_meta, #quote_block, #sidebar_block, #source_block, #table, #table_row, #text_id, #text_line, #ulist_item, #underline, #unordered_list
Methods included from Asciidoc::Base
#attribute_name, #attribute_value, #date, #digit, #digits, #email, #empty_line, #endline, #keyword, #line_ending, #newline, #rich_text, #rich_texts, #space, #space?, #special_character, #text, #word, #words
Methods included from Asciidoc::DocumentAttributes
#document_attributes, #document_attributess
Methods included from Asciidoc::Header
#author, #header, #header_title, #revision
Class Method Details
.parse(filename) ⇒ Object
26 27 28 29 |
# File 'lib/coradoc/parser/base.rb', line 26 def self.parse(filename) content = File.read(filename) new.parse_with_debug(content) end |