method
bind
v2_5_5 -
Show latest stable
- Class:
Exception2MessageMapper
bind(cl)public
No documentation available.
# File lib/e2mmap.rb, line 64
def bind(cl)
self.module_eval "#{<<-"begin;"}\n#{<<-"end;"}", __FILE__, __LINE__+1
begin;
def Raise(err = nil, *rest)
Exception2MessageMapper.Raise(self.class, err, *rest)
end
alias Fail Raise
class << self
undef included
end
def self.included(mod)
mod.extend Exception2MessageMapper
end
end;
end