In Files

  • e2mmap.rb

Methods

Class/Module Index [+]

Quicksearch

Exception2MessageMapper::E2MM

Public Class Methods

e2mm_message(klass, exp) click to toggle source
 
               # File e2mmap.rb, line 158
def E2MM.e2mm_message(klass, exp)
  for c in klass.ancestors
    if mes = @MessageMap[[c,exp]]
      m = klass.instance_eval('"' + mes + '"')
      return m
    end
  end
  nil
end