Advertisement
saasbook

Add a new currency

Sep 4th, 2012
3,109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.08 KB | None | 0 0
  1. def self.add_currency(name,conversion)
  2.   @@currencies[name.to_s] = conversion
  3. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement