Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hakanensari/certainty

An object that represents truth
https://github.com/hakanensari/certainty

Last synced: 23 days ago
JSON representation

An object that represents truth

Awesome Lists containing this project

README

        

# Certainty

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

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

[![travis](https://secure.travis-ci.org/hakanensari/certainty.png)](http://travis-ci.org/hakanensari/certainty)

## Usage

Add to your Gemfile.

gem 'certainty'

Require.

require 'certainty'

Inquire.

true.is_a? Boolean
=> true

Typecast.

Boolean("false")
=> false