hook_method_name (Extlib::Hook::ClassMethods)

    # File lib/extlib/hook.rb, line 195
          def hook_method_name(target_method, prefix, suffix)
            target_method = target_method.to_s

            case target_method[-1,1]
              when '?' then "#{prefix}_#{target_method[0..-2]}_ques_#{suffix}"
              when '!' then "#{prefix}_#{target_method[0..-2]}_bang_#{suffix}"
              when '=' then "#{prefix}_#{target_method[0..-2]}_eq_#{suffix}"
              # I add a _nan_ suffix here so that we don't ever encounter
              # any naming conflicts.
              else "#{prefix}_#{target_method[0..-1]}_nan_#{suffix}"
            end
          end