From 30eab94d2f0aded3cdbba1461dcfae08cc381822 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Tue, 18 Dec 2018 07:16:55 +0900 Subject: Fix `View.new` method call with arguments syntax [ci skip] --- actionview/lib/action_view/rendering.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview/lib/action_view/rendering.rb') diff --git a/actionview/lib/action_view/rendering.rb b/actionview/lib/action_view/rendering.rb index dfe58c3440..cb4327cf16 100644 --- a/actionview/lib/action_view/rendering.rb +++ b/actionview/lib/action_view/rendering.rb @@ -65,7 +65,7 @@ module ActionView # # The view class must have the following methods: # - # * View.new[lookup_context, assigns, controller] — Create a new + # * View.new(lookup_context, assigns, controller) — Create a new # ActionView instance for a controller and we can also pass the arguments. # # * View#render(option) — Returns String with the rendered template. -- cgit v1.2.3