Sha256: fe57199acc598c1509842764b50c61f2c61ff346f975e6e7cc9aecd6e2cc6526

Contents?: true

Size: 166 Bytes

Versions: 4

Compression:

Stored size: 166 Bytes

Contents

class Numeric

  # Is a number greater than zero.
  #
  def positive?
    self > 0
  end

  # Is a number less than zero.
  #
  def negative?
    self < 0
  end

end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 lib/core/facets/numeric/positive.rb
facets-3.1.0 lib/core/facets/numeric/positive.rb
facets-3.0.0 lib/core/facets/numeric/positive.rb
facets-2.9.3 lib/core/facets/numeric/positive.rb