1 2 3 4 5 6 7 8 9
# frozen_string_literal: true unless 0.respond_to?(:positive?) class Fixnum # standard:disable Lint/UnifiedInteger def positive? self > 0 end end end