Sha256: ddace37c09d204a4f62126867bad95db8d09ba22e8f12d3816408821f6cd6abb

Contents?: true

Size: 186 Bytes

Versions: 26

Compression:

Stored size: 186 Bytes

Contents

module Hamlit
  module Parsers
    module Text
      def parse_text(scanner)
        ast = [:haml, :text]
        ast << scanner.scan(/.+/).strip
        ast
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
hamlit-0.3.0 lib/hamlit/parsers/text.rb
hamlit-0.2.0 lib/hamlit/parsers/text.rb
hamlit-0.1.3 lib/hamlit/parsers/text.rb
hamlit-0.1.2 lib/hamlit/parsers/text.rb
hamlit-0.1.1 lib/hamlit/parsers/text.rb
hamlit-0.1.0 lib/hamlit/parsers/text.rb