module TypeProf::Utils::StructuralEquality
Public Class Methods
included(klass)
click to toggle source
# File typeprof-0.15.2/lib/typeprof/utils.rb, line 9 def self.included(klass) klass.instance_eval do def new(*args) (@table ||= {})[[self] + args] ||= super end end end
Public Instance Methods
new(*args)
click to toggle source
Calls superclass method
# File typeprof-0.15.2/lib/typeprof/utils.rb, line 11 def new(*args) (@table ||= {})[[self] + args] ||= super end