Orbit/config/initializers/override_and_new_class_meth...

6 lines
59 B
Ruby

Integer.class_eval do
def to_b
!self.zero?
end
end