Project

tuturu

0.0
No commit activity in last 3 years
No release in over 3 years
Cast any object tuturu (to true).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.9
~> 10.0
~> 3.2.0
 Project Readme

Tuturu

Tuturuuuu~♪
-- Mayuri Shiina / Steins;Gate

Cast everything to true tuturu!

Requirements

  • Ruby 1.9.3+

Installation

Add this line to your application's Gemfile:

gem 'tuturu'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tuturu

Usage

true.tuturu  #=> true
false.tuturu #=> true
nil.tuturu   #=> true
'Mayushi'.tuturu  #=> true
Object.new.tuturu #=> true

true.to_true  #=> true
false.to_true #=> true
nil.to_true   #=> true
'Mayushi'.to_true  #=> true
Object.new.to_true #=> true

Tuturu(true)  #=> true
Tuturu(false) #=> true
Tuturu(nil)   #=> true
Tuturu('Mayushi')  #=> true
Tuturu(Object.new) #=> true

Credits

This gem is heavily inspired by ToNil.

Contributing

  1. Fork it ( https://github.com/quanon/tuturu )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
  6. El Psy Congroo...