Module: Coradoc::Parser::Asciidoc::Bibdata
Instance Method Summary collapse
- #bibdata ⇒ Object
-
#bibdatas ⇒ Object
Bibdata.
Methods included from Base
#attribute_name, #attribute_value, #digits, #email, #empty_line, #endline, #keyword, #line_ending, #newline, #space, #space?, #special_character, #text, #word, #words
Instance Method Details
#bibdata ⇒ Object
12 13 14 15 |
# File 'lib/coradoc/parser/asciidoc/bibdata.rb', line 12 def bibdata str(":") >> attribute_name.as(:key) >> str(":") >> space? >> attribute_value.as(:value) >> line_ending end |
#bibdatas ⇒ Object
Bibdata
8 9 10 |
# File 'lib/coradoc/parser/asciidoc/bibdata.rb', line 8 def bibdatas bibdata.repeat(1) end |