class HashCmp

Public Class Methods

new(exp, act) click to toggle source
# File tests/cimi/spec/spec_helper.rb, line 35
def initialize(exp, act)
  @exp = exp
  @act = act
  @io = StringIO.new
end

Public Instance Methods

errors() click to toggle source
# File tests/cimi/spec/spec_helper.rb, line 47
def errors
  @io.string
end
match?() click to toggle source
# File tests/cimi/spec/spec_helper.rb, line 41
def match?
  @equal = true
  compare_values(@exp, @act, [])
  @equal
end