Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define Numeric
- def method_missing(method_id)
- if method_id.to_s == "euro"
- self.send(:euros)
- else
- super
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement