Sha256: a35845ceb0ceaab09e5b1f8a41100c2853e548f9a5b8fb804f9cdd2e38c5b87b

Contents?: true

Size: 987 Bytes

Versions: 1

Compression:

Stored size: 987 Bytes

Contents

# Tuturu

> Tuturuuuu <br/>
> -- Mayuri Shiina / Steins;Gate

Cast any object ~~to true~~ **tuturu** !

## Requirements
+ Ruby 1.9.1+

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'tuturu'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install tuturu

## Usage

```ruby
true.tuturu  #=> true
false.tuturu #=> true
nil.tuturu   #=> true
Object.new.tuturu #=> true

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

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

## Credits

This gem is heavily inspired by [ToNil](https://github.com/mrThe/to_nil).

## 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tuturu-0.1.0 README.md