module TaintAliases
Constants
- TAINT_ALIASES
onlineslangdictionary.com/thesaurus/words+meaning+perineum.html
- VERSION
Public Class Methods
included(receiver)
click to toggle source
# File lib/taint_aliases.rb, line 6 def self.included(receiver) TAINT_ALIASES.each do |a| suffix = 'aeiou'[a[-1]] ? 'd': 'ed' receiver.send(:alias_method, a, :taint) receiver.send(:alias_method, "un" + a, :untaint) receiver.send(:alias_method, a + suffix + "?", :tainted?) end end