An object that represents truth
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
Gemfile
README.md
Rakefile
certainty.gemspec

README.md

Certainty

Certainty provides Boolean, an object that represents truth in Ruby.

The library posits three truth values: true, false, or unknown.

travis

## Usage

Add to your Gemfile.

gem 'certainty'

Require.

require 'certainty'

Inquire.

true.is_a? Boolean
=> true

Typecast.

Boolean("false")
=> false