Skip to content

gabriel128/polite-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Polite Gem

A gem to be polite with objects.

How to use this

It adds the #please and #thanks! messages to every object

AnObject.new.please.a_complex_operation

AnObject.plase.please.do_other_complex_stuff.thanks!

If you treat them politely the will answer you. I will let you discover the answers.

F.A.Q

Why this gem was created?

Justs for fun

Can I use it in production code?

Of course

Is it usefull

No, it’s totally useless

Contributing to polite-gem

  • Fork and open a PR, if it contributes with politeness between objects will be surely be merged

  • Objects doesn’t like ifs, switch-cases so don’t even try it

Copyright © 2016 Gabriel Torello. See LICENSE.txt for further details.

About

A Gem to make objects messages a polite thing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages