From bae07dcce2f6821e202e1e0b544421d6851e8ecf Mon Sep 17 00:00:00 2001 From: Damien Mathieu <42@dmathieu.com> Date: Thu, 18 Jul 2013 17:15:09 +0200 Subject: use the appropriate RDoc code markup Thanks @fxn --- railties/lib/rails/console/helpers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/lib') diff --git a/railties/lib/rails/console/helpers.rb b/railties/lib/rails/console/helpers.rb index efc27953e5..b775f1ff8d 100644 --- a/railties/lib/rails/console/helpers.rb +++ b/railties/lib/rails/console/helpers.rb @@ -2,14 +2,14 @@ module Rails module ConsoleMethods # Gets the helper methods available to the controller. # - # This method assumes an `ApplicationController` exists, and it extends `ActionController::Base` + # This method assumes an +ApplicationController+ exists, and it extends +ActionController::Base+ def helper @helper ||= ApplicationController.helpers end # Gets a new instance of a controller object. # - # This method assumes an `ApplicationController` exists, and it extends `ActionController::Base` + # This method assumes an +ApplicationController+ exists, and it extends +ActionController::Base+ def controller @controller ||= ApplicationController.new end -- cgit v1.2.3