Sha256: bb82bd31d7058e08326f9acb8d7c99f17f97128373ab90a034f3a574bc6e10ec
Contents?: true
Size: 419 Bytes
Versions: 42
Compression:
Stored size: 419 Bytes
Contents
# -*- coding: utf-8 -*- module RubyToBlock module Block class RubyP < CharacterMethodCall blocknize '^\s*p\((.+)\)\s*$', statement: true, inline: true def self.process_match_data(md, context) block = new context.add_block(block) md2 = regexp.match(md[type]) process_value_string(context, block, md2[1], :ARG) true end end end end
Version data entries
42 entries across 42 versions & 1 rubygems