Sha256: e57875b451c2d69d7a35ea08e2260e177ef168ed7440dbe23329a17951a613f2
Contents?: true
Size: 407 Bytes
Versions: 12
Compression:
Stored size: 407 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