README.rdoc

Description

Creates aliases for class methods, instance methods, constants, delegated
methods and more. Aliases can be easily searched or saved as YAML config
files to load later. Custom alias types are easy to create with the DSL
Alias provides. Although Alias was created with the irb user in mind, any
Ruby console program can hook into Alias for creating configurable aliases.

Setup

Install the gem with:

sudo gem install alias

To setup, simply drop these two lines in your .irbrc:

require 'alias'
Alias.create

This will assume a file in config/alias.yml or ~/.alias.yml. If you want it
somewhere else, pass a :file option to create():

Alias.create :file=>"/path/to/my/clandestine_aliases.yml"

If you'd like to define your aliases without a config file, pass
Alias.create() an :aliases option: