Sha256: b46cdaa53751204925c3590f535afda8a7f4414762ee5f366101d56e2c93a0f6
Contents?: true
Size: 402 Bytes
Versions: 52
Compression:
Stored size: 402 Bytes
Contents
# -*- coding: utf-8 -*- module RubyToBlock module Block class MotionSetX < CharacterMethodCall blocknize '^\s*' + CHAR_RE + 'x\s*=\s*(\S+)\s*$', statement: true, inline: true def self.process_match_data(md, context) md2 = regexp.match(md[type]) add_character_method_call_block(context, md2[1], new, X: md2[2]) true end end end end
Version data entries
52 entries across 52 versions & 1 rubygems