Project

turnt

0.0
No commit activity in last 3 years
No release in over 3 years
A gem for check if attribute has value.
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.0
~> 2.0.1
~> 3.12
 Project Readme

Welcome to Turnt

Test if an attribute was setted.

Getting Started

From rubygems:

gem install turnt

Gemfile

gem "turnt"

Usage

How to use

class Organization
  include Turnt

  attr_accessor :name, :employes
end

So you can call:

tux = Organization.new
tux.has_name? # => false
tux.has_employes? # => false

Now, I will set values to name

tux = Organization.new
tux.name = "Tux!"
tux.has_name? # => true
tux.has_employes? # => false

This works with methods!

Contributing

I ❤️ Open source!

Follow github guides for forking a project

Follow github guides for contributing open source

Code Status

Build Status

License

Gem is released under the MIT license.