Guest User

Untitled

a guest
Jun 24th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. def credit_difference
  2. credit_total - credit_sum
  3. end
  4.  
  5. def credit_sum
  6. visa_total + mc_total + amex_total + discover_total + eagle_total
  7. end
  8.  
  9. def credit_discrepancy?
  10. credit_sum != credit_total
  11. end
Add Comment
Please, Sign In to add comment