Sha256: f1d23f5854959f73386824128108f3bf6305adf3dfab38ba667827aad4e1bd64
Contents?: true
Size: 689 Bytes
Versions: 24
Compression:
Stored size: 689 Bytes
Contents
# -*- coding: utf-8 -*- module RubyToBlock module Block class HardwareSmalrubotAction < CharacterMethodCall include HardwareOperation # rubocop:disable LineLength blocknize ['^\s*', CHAR_RE, SMALRUBOT_RE, '\.', ACTION_RE, '\s*$'].join(''), statement: true, inline: true # rubocop:enable LineLength def self.process_match_data(md, context) md2 = regexp.match(md[type]) block = new(fields: { ACTION: md2[3] }) block.smalrubot_name = md2[2] add_character_method_call_block(context, md2[1], block) true end end end end
Version data entries
24 entries across 24 versions & 1 rubygems