RubyGems.org

Rather than having a bunch of lame logic in your method_missing method, define separated regular expression methods that are called when no normally defined method matches.

installgem install irregular_method
Authors

Mike Nelson

9,677 total downloads 1,513 for this version
Owners

58dac781cb69c3342f0a73c8936cf48b

Gemfile
gem 'irregular_method', '~> 0.3.0'
Versions
  1. 0.3.0 March 19, 2010 (8.5 KB)
  2. 0.2.0 March 15, 2010 (8.5 KB)
  3. 0.1.3 February 20, 2010 (8 KB)
  4. 0.1.2 February 20, 2010 (8 KB)
  5. 0.1.1 February 18, 2010 (8 KB)
Show all versions (12 total)
Development Dependencies
  1. rspec >= 1.2.9