Class: Fixnum

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

Overview

standard:disable Lint/UnifiedInteger

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
end