Sha256: 32ca78b8b208bc562df4e6d0851e5967941ed5bc085add3e4817fd7312ad2f65
Contents?: true
Size: 259 Bytes
Versions: 12
Compression:
Stored size: 259 Bytes
Contents
# Define BlankSlate in case ActiveSupport aint present unless defined? BlankSlate class BlankSlate instance_methods.reject { |m| m =~ /^__/ || m.to_s == 'object_id' }.each { |m| undef_method m } def initialize(me) @me = me end end end
Version data entries
12 entries across 12 versions & 1 rubygems