Sha256: d8bef1a7e0269cb0ef30ede9f728b9840657f9043b6a2a850fd5f3840d4df17a
Contents?: true
Size: 437 Bytes
Versions: 7
Compression:
Stored size: 437 Bytes
Contents
Object.class_eval do def self; self end def metaclass &block (class << self; self; end) end def metaclass_eval &block metaclass.class_eval(&block) self end def respond_to method, *args respond_to?(method) ? send(method, *args) : nil end def try method, *args, &block self && self.send(method, *args, &block) end public :extend # def copy # Marshal.load(Marshal.dump self) # Stub # end end
Version data entries
7 entries across 7 versions & 1 rubygems