Sha256: 16e4f6c82bdc9e66d2760f63bf57e60945e241c8808f0307c563acb2966fd9ab
Contents?: true
Size: 169 Bytes
Versions: 10
Compression:
Stored size: 169 Bytes
Contents
class Class def required(name, message=nil) message ||= "You need to implement method #{name}" define_method name do |*| raise message end end end
Version data entries
10 entries across 10 versions & 1 rubygems