Sha256: e6e94192c8a9813adc9b12cb2c85629afe502451b09b1ea1b561623808a5d206

Contents?: true

Size: 201 Bytes

Versions: 5

Compression:

Stored size: 201 Bytes

Contents

# encoding: utf-8
module WannabeBool
  module Boolean
    def to_b
      self
    end
  end
end

class TrueClass
  include WannabeBool::Boolean
end

class FalseClass
  include WannabeBool::Boolean
end

Version data entries

5 entries across 5 versions & 1 rubygems

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