This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/config/initializers/override_and_new_class_meth...

6 lines
59 B
Ruby
Raw Normal View History

2011-02-08 09:25:20 +00:00
Integer.class_eval do
def to_b
!self.zero?
end
end