lib/onceler/recordable.rb
# we don't include inherited stuff in __data, because we might need to
# interleave things from an intermediate before(:each) at run time
we don't include inherited stuff in __data, because we might need to
interleave things from an intermediate before(:each) at run time
we don ' t include inherited stuff in __data because we might need to interleave things from an intermediate before ( : each ) at run time
def __mutated?(key, val)
      return true unless @__inherited_cache
      return true unless @__inherited_values[key].equal?(val)
      return true unless __values_equal?(@__inherited_cache[key], val)
      false
    end
def __mutated? ( key , val ) return true unless @__inherited_cache return true unless @__inherited_values [ key ] . equal? ( val ) return true unless __values_equal? ( @__inherited_cache [ key ] , val ) false end
we don't include inherited stuff in __data, because we might need to
interleave things from an intermediate before(:each) at run time
we don ' t include inherited stuff in __data because we might need to interleave things from an intermediate before ( : each ) at run time
# top-level recorders don't inherit anything, so we always want to return true # need to do both types of comparison, i.e. it's the same object in # memory (not reassigned), and nothing about it has been changed
key
<not_specific>
val
<not_specific>