public
Description: Training Wheels is a idiom distribution framework
Homepage: https://github.com/capitalist/training-wheels/wikis/home
Clone URL: git://github.com/capitalist/training-wheels.git
name age message
file README.textile Fri Nov 07 08:49:00 -0800 2008 Add mailing list info to README [capitalist]
file Rakefile Mon Oct 20 18:55:22 -0700 2008 Starting with basic file detection stolen from ... [capitalist]
directory bin/ Tue Nov 04 15:15:27 -0800 2008 Initial proof of concept [capitalist]
file cucumber.yml Mon Oct 20 18:55:22 -0700 2008 Starting with basic file detection stolen from ... [capitalist]
directory examples/ Tue Nov 04 15:15:27 -0800 2008 Initial proof of concept [capitalist]
directory features/ Mon Oct 20 18:55:22 -0700 2008 Starting with basic file detection stolen from ... [capitalist]
directory lib/ Tue Nov 04 15:15:27 -0800 2008 Initial proof of concept [capitalist]
directory spec/ Mon Oct 20 18:55:22 -0700 2008 Starting with basic file detection stolen from ... [capitalist]
README.textile

Training Wheels

Welcome to the wonderful world of Training Wheels.

About

Training Wheels is intended to be a portable, extensible way to share techniques, idioms, patterns, anti-patterns in Ruby

It relies on ParseTree to turn your ruby code into data that can be analyzed and matched against patterns included in files called wheels.
If a pattern matches, you get a suggestion for a better way to accomplish the same task.

Get Started

  1. Clone it from GitHub
  2. It’s not setup as a gem yet (it needs work to be beta ready) so just run: ./bin/training_wheels to play around.

Get Involved

  • Join the mailing list and let me know your ideas
  • Fork the repository on GitHub, modify it, and then send me a pull request

Feature Ideas

  • Literals: Need to be able to work with literals to create wheels that watch for literal values.
  • Wildcards: Need an idea for a pretty way to specify wildcards in trigger patterns.
  • Suggest Interpolation: Need a way to take values, method names, etc. from the code that triggered a suggestion and use them in the suggestion. Then we could have copy/paste suggestions.