Sha256: a1de1296fa2e44b9fac35ca664cb809a35480632d28652b0a1359d91055acbbb
Contents?: true
Size: 284 Bytes
Versions: 6
Compression:
Stored size: 284 Bytes
Contents
module MadChatter class Extensions def self.load_simple_extensions(extensions) instance_eval extensions, __FILE__, __LINE__ end def self.on_message(regex, &block) MadChatter.simple_extensions << { regex: regex, block: block } end end end
Version data entries
6 entries across 6 versions & 1 rubygems