Sha256: 707a0833c85c5153b5deca7abeefd48bfa2e7442e37bbaae024ae5a6f86553c3
Contents?: true
Size: 411 Bytes
Versions: 69
Compression:
Stored size: 411 Bytes
Contents
# -*- coding: utf-8 -*- module RubyToBlock module Block class SoundPlay < CharacterMethodCall blocknize '^\s*' + CHAR_RE + 'play\(name:\s*(.+)\)\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, NAME: md2[2]) true end end end end
Version data entries
69 entries across 69 versions & 1 rubygems