Module: Pippi::Checks::AssertWithNil::MyAssertEqual

Defined in:
lib/pippi/checks/assert_with_nil.rb

Instance Method Summary collapse

Instance Method Details

#assert_equal(*args) ⇒ Object



4
5
6
7
8
9
# File 'lib/pippi/checks/assert_with_nil.rb', line 4

def assert_equal(*args)
  if args.size > 1 && args[0].object_id == 8
    self.class._pippi_check_assert_with_nil.add_problem
  end
  super
end