Module: RenderInformation

Defined in:
vendor/plugins/engines/test/lib/render_information.rb

Instance Method Summary

Instance Method Details

- (Object) render_class_and_action(note = nil, options = {})



2
3
4
5
6
# File 'vendor/plugins/engines/test/lib/render_information.rb', line 2

def render_class_and_action(note = nil, options={})
  text = "rendered in #{self.class.name}##{params[:action]}"
  text += " (#{note})" unless note.nil?
  render options.update(:text => text)
end