Sha256: e5951c1f0069dcb0992a667119144dbb6aa761b312f4c4786f93dc1b3807488f
Contents?: true
Size: 517 Bytes
Versions: 38
Compression:
Stored size: 517 Bytes
Contents
# -*- coding: utf-8 -*- module RubyToBlock module Block class MotionSetRotationStyle < CharacterMethodCall blocknize '^\s*' + CHAR_RE + 'rotation_style\s*=\s*:(left_right|none|free)\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(fields: { STYLE: md2[2] })) true end end end end
Version data entries
38 entries across 38 versions & 1 rubygems