Welcome to Turnt
Test if an attribute was setted.
Getting Started
From rubygems:
gem install turntGemfile
gem "turnt"Usage
How to use
class Organization
include Turnt
attr_accessor :name, :employes
endSo you can call:
tux = Organization.new
tux.has_name? # => false
tux.has_employes? # => falseNow, I will set values to name
tux = Organization.new
tux.name = "Tux!"
tux.has_name? # => true
tux.has_employes? # => falseThis works with methods!
Contributing
I ❤️ Open source!
Follow github guides for forking a project
Follow github guides for contributing open source
Code Status
License
Gem is released under the MIT license.