Sha256: 3a06bbadede724f5b2453b6a08b70ba5522b06867ee550ca42961c8dac5eeda8
Contents?: true
Size: 514 Bytes
Versions: 8
Compression:
Stored size: 514 Bytes
Contents
module RubyToBlock module Block class HardwareButtonNotUsePullup < CharacterMethodCall include HardwareOperation blocknize '^\s*' + CHAR_RE + 'button\(' + DIO_PIN_RE + '\)\.not_use_pullup\s*$', statement: true 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] })) true end end end end
Version data entries
8 entries across 8 versions & 1 rubygems