Sha256: 3e9d97fd35a8a8087a33c1393756c837315c9ebde31bf8192b7168104234948b
Contents?: true
Size: 314 Bytes
Versions: 27
Compression:
Stored size: 314 Bytes
Contents
# -*- coding: utf-8 -*- module RubyToBlock module Block class Text < Value blocknize '^\s*"([^"]*)"\s*$', value: true def self.process_match_data(md, context) md2 = regexp.match(md[type]) context.add_value(new(fields: { TEXT: md2[1] })) true end end end end
Version data entries
27 entries across 27 versions & 1 rubygems