Sha256: 67d35e52951a90d05660bf65ef517dec1633baf5a4502464b10c75e4d1969eb9
Contents?: true
Size: 234 Bytes
Versions: 1
Compression:
Stored size: 234 Bytes
Contents
module Mummy module Parsers class MarkdownParser < BaseParser def items @items ||= input.lines.select do |line| line[0..1] == "##" end.map { |line| line[2..-1].strip } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mummy-0.1.0 | lib/mummy/parsers/markdown_parser.rb |