Sha256: d3bc2655871c57d09a049af16f529fb1b0cc02f8b204dbfbbb3a8c2d3bad916d

Contents?: true

Size: 178 Bytes

Versions: 1

Compression:

Stored size: 178 Bytes

Contents

# frozen_string_literal: true
module WannabeBool::Numeric
  def to_b
    !self.zero?
  end

  include WannabeBool::Aliasing
end

class Numeric
  include WannabeBool::Numeric
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wannabe_bool-0.7.1 lib/wannabe_bool/numeric.rb