Class: Fixnum

Inherits:
Object
  • Object
show all
Defined in:
lib/diff/lcs/backports.rb

Overview

rubocop:disable Lint/UnifiedInteger, Style/Documentation

Instance Method Summary collapse

Instance Method Details

#positive?Boolean

Returns:

  • (Boolean)

5
6
7
# File 'lib/diff/lcs/backports.rb', line 5

def positive?
  self > 0 # rubocop:disable Style/NumericPredicate
end