Mercurial > hg > soundsoftware-site
comparison vendor/plugins/engines/test/lib/render_information.rb @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:513646585e45 |
---|---|
1 module RenderInformation | |
2 def render_class_and_action(note = nil, options={}) | |
3 text = "rendered in #{self.class.name}##{params[:action]}" | |
4 text += " (#{note})" unless note.nil? | |
5 render options.update(:text => text) | |
6 end | |
7 end |