Method: Cosensee::LineParser#parse
- Defined in:
- lib/cosensee/line_parser.rb
#parse(line) ⇒ Object
34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/cosensee/line_parser.rb', line 34 def parse(line) parsed_line = ParsedLine.new(rest: line, raw: line) parsed_line .then { parse_indent(it) } .then { parse_whole_line(it) } .then { parse_code(it) } .then { parse_double_bracket(it) } .then { parse_bracket(it) } .then { parse_url(it) } .then { parse_hashtag(it) } .then { done_parsing(it) } end |