Sha256: 35f3706e5f68335c2fb20b70160a07dcf5f57f29e9ff52900e1692cf02d258e3
Contents?: true
Size: 222 Bytes
Versions: 6
Compression:
Stored size: 222 Bytes
Contents
# class OpenModule < Module def initialize(&block) instance_eval(&block) if block_given? end def method_missing(s, *a, &b) if block_given? define_method(s, &b) else super end end end
Version data entries
6 entries across 6 versions & 1 rubygems