Advertisement
saasbook

coverage_example.rb

Jan 10th, 2012
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.15 KB | None | 0 0
  1. class MyClass
  2.   def foo(x,y,z)
  3.     if x
  4.       if (y && z) then bar(0) end
  5.     else
  6.       bar(1)
  7.     end
  8.   end
  9.   def bar(x) ; @w = x ; end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement