Skip to content

ess/toady

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toady

A silly little object that responds to any method.

Gem Setup

gem install toady

# Gemfile
group :test do
  gem 'toady'
end

How Do I Use This Thing?

# Via class methods
Toady.any_method_that_you_like('some', 'arguments')
  => [:any_method_that_you_like, 'some', 'arguments']

Toady.respond_to?(:a_different_method)
  => true

# Via instance methods
toady = Toady.new

toady.flibberty_giblets!
  => [:flibberty_giblets!]

toady.respond_to?(:my_sausages_turned_to_gold)
  => true

Formal Documentation

The actual library docs can be read over on rubydoc.

Contributing

Do you use git-flow? I sure do. Please base anything you do off of the develop branch.

  1. Fork it.
  2. Perform some BDD magic. Seriously. Be testing.
  3. Submit a pull request.

So, Uh, Why?

More than anything, I needed a general purpose class to help me test a few pub/sub methodologies for correctness.

License

MIT License. Copyright 2014 Ess

About

A silly little object that always does what it's told, if it knows what's good for it

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages