This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 95999481346f7289ed31ea25cfb0b773c6bcb265
tree bc747b204e49df7dc97aa90c0802c21eda228bd3
parent 801ff1a1f10a34fe2bed604a661dde14292c3ac9
tree bc747b204e49df7dc97aa90c0802c21eda228bd3
parent 801ff1a1f10a34fe2bed604a661dde14292c3ac9
truthy /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
History.txt | ||
| |
License.txt | ||
| |
Manifest.txt | ||
| |
README.txt | ||
| |
Rakefile | ||
| |
config/ | ||
| |
lib/ | ||
| |
script/ | ||
| |
setup.rb | ||
| |
spec/ | ||
| |
tasks/ |
README.txt
= truthy
== DESCRIPTION:
This gem is to make it easier to discover the truth values of various Ruby
objects. Ask any object if it is truthy, and it will tell you.
== SYNOPSIS:
require 'truthy'
true.truthy? # => true
false.truthy? # => false
nil.truthy? # => false
[].truthy? # => true
[nil].truthy? # => true
%w[one two three].truthy? # => true
{}.truthy? # => true
{ 'one' => 1 }.truthy? # => true
''.truthy? # => true
' '.truthy? # => true
'hello'.truthy? # => true
The possibilities are endless.
== INSTALL:
* sudo gem install truthy









