Sha256: 0b1b9cc92066b5f64bc4fcbe6ae9887d258d92b964d4c456e8ba5e248e0c3320

Contents?: true

Size: 140 Bytes

Versions: 5

Compression:

Stored size: 140 Bytes

Contents

# encoding: utf-8
module WannabeBool
  module Nil
    def to_b
      false
    end
  end
end

class NilClass
  include WannabeBool::Nil
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wannabe_bool-0.1.1 lib/wannabe_bool/nil.rb
wannabe_bool-0.1.0 lib/wannabe_bool/nil.rb
wannabe_bool-0.0.3 lib/wannabe_bool/nil.rb
wannabe_bool-0.0.2 lib/wannabe_bool/nil.rb
wannabe_bool-0.0.1 lib/wannabe_bool/nil.rb