Arukamo

Build Status Dependency Status Gem Version Inline docs Documentation

あるかも?!

Rubies

Installation

Add this line to your application's Gemfile:

gem 'arukamo'

And then execute:

$ bundle

Or install it yourself as:

$ gem install arukamo

Usage

Because the parent class of all classes, BasicObject, is an explicit blank class, each of its instances SHOULD be considered as a null object.

Also, an object exists if all of the following methods MAY return false:

  • nil?
  • blank?
  • empty?
  • equal?(false)
  • public_methods(false).empty?
  • zero?

When an object exists, the .aru? method returns true. Otherwise, false. .nai? is the opposite.

BasicObject.new.aru?  # => false
nil.nai?              # => true
''.aru?               # => false
42.aru?               # => true
0.0.aru?              # => false
[].aru?               # => false
{}.aru?               # => false

Versioning

Arukamo follows Semantic Versioning 2.0.

Contributing

  1. Fork it
  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

License

See LICENSE.md file.