orbit-basic/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