Sha256: 0b875358b84ee29afd15bc262e09e90ead5efe225667c315f171c249b3fc21ff
Contents?: true
Size: 742 Bytes
Versions: 24
Compression:
Stored size: 742 Bytes
Contents
# -*- coding: utf-8 -*- module RubyToBlock module Block class HardwareSmalrubotActionWithSec < CharacterMethodCall include HardwareOperation # rubocop:disable LineLength blocknize ['^\s*', CHAR_RE, SMALRUBOT_RE, '\.', ACTION_RE, '\(\s*sec:\s*(\d+(?:\.\d+)?)\)', '\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, SEC: md2[4]) true end end end end
Version data entries
24 entries across 24 versions & 1 rubygems