Sha256: 0941dcd630763bf71cfce45f4df85e29b8fd0a38b24430848d01569cad4d4378
Contents?: true
Size: 534 Bytes
Versions: 69
Compression:
Stored size: 534 Bytes
Contents
# -*- coding: utf-8 -*- module RubyToBlock module Block class MotionRotateRight < CharacterMethodCall blocknize '^\s*' + CHAR_RE + 'rotate\(\+?(\d+)\)\s*$', statement: true, inline: true def self.process_match_data(md, context) md2 = regexp.match(md[type]) block = new _, context.current_block = *add_child_or_create_character_new_block(context, md2[1], block) process_value_string(context, block, md2[2], :ANGLE) true end end end end
Version data entries
69 entries across 69 versions & 1 rubygems