Class: Fixnum

Inherits:
Object show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/diff-lcs-1.5.0/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb', line 5

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