Project

toady

0.0
No commit activity in last 3 years
No release in over 3 years
Toady is a simple little fella that always responds to any message you send it.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

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