Sha256: cd1c89362a8fc58817ce02905f0a6961b4b5694f6e390ac6cc7e0979001c7169
Contents?: true
Size: 687 Bytes
Versions: 52
Compression:
Stored size: 687 Bytes
Contents
# -*- coding: utf-8 -*- module RubyToBlock module Block class HardwareTwoWheelDriveCarRun < CharacterMethodCall # rubocop:disable LineLength blocknize '^\s*' + CHAR_RE + 'two_wheel_drive_car\("(D(?:[2-9]|10))"\)\.run\(command:\s*("[^"]*")\s*,\s*sec:\s*(\d+)\)\s*$', statement: true, inline: true # rubocop:enable LineLength def self.process_match_data(md, context) md2 = regexp.match(md[type]) add_character_method_call_block(context, md2[1], new(fields: { PIN: md2[2] }), SEC: md2[4], COMMAND: md2[3]) true end end end end
Version data entries
52 entries across 52 versions & 1 rubygems