Sha256: b0e71cb2db42e51ba749f3056aa868d09b362c7cc48802555fd0f04ef98b8601
Contents?: true
Size: 408 Bytes
Versions: 12
Compression:
Stored size: 408 Bytes
Contents
# encoding: utf-8 # # Copyright October 2014, Jesse Doyle. All rights reserved. # # This is free software. Please see the LICENSE and COPYING files for details. module ParserHelper def tokenize_string(string) regex = Prawn::Icon::Parser::PARSER_REGEX string.scan(regex) end def contentize_string(string) regex = Prawn::Icon::Parser::CONTENT_REGEX string.scan(regex).flatten end end
Version data entries
12 entries across 12 versions & 1 rubygems