static public Method

Merb.exception(e)

PLEASE STOP REMOVING THIS ONE GUYS! It’s used to show exceptions in the log file this is the second time I’ve had to add it back.

Source Code

# File merb/exceptions.rb, line 187
def self.exception(e) 
  "#{ e.message } - (#{ e.class })\n" <<  
  "#{(e.backtrace or []).join("\n")}" 
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.