diff options
author | schneems <richard.schneeman+foo@gmail.com> | 2018-09-06 12:00:20 -0500 |
---|---|---|
committer | schneems <richard.schneeman+foo@gmail.com> | 2018-09-06 15:28:45 -0500 |
commit | 31cfd5e4fdd0017f101af8f2f3d6b52b6ea68c08 (patch) | |
tree | 0060defbffd6f0d35d16277dda02621882567a6f /actionview/lib/action_view/helpers | |
parent | a01f4d53b35cc7c2bda045a5a782fffa22390e07 (diff) | |
download | rails-31cfd5e4fdd0017f101af8f2f3d6b52b6ea68c08.tar.gz rails-31cfd5e4fdd0017f101af8f2f3d6b52b6ea68c08.tar.bz2 rails-31cfd5e4fdd0017f101af8f2f3d6b52b6ea68c08.zip |
[ci skip] Doc ActionView::OutputBuffer
Diffstat (limited to 'actionview/lib/action_view/helpers')
-rw-r--r-- | actionview/lib/action_view/helpers/capture_helper.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actionview/lib/action_view/helpers/capture_helper.rb b/actionview/lib/action_view/helpers/capture_helper.rb index 63707280a3..c87c212cc7 100644 --- a/actionview/lib/action_view/helpers/capture_helper.rb +++ b/actionview/lib/action_view/helpers/capture_helper.rb @@ -36,10 +36,9 @@ module ActionView # </body> # </html> # - # The output of `capture` is the rendered string. For Example: + # The return of capture is the string generated by the block. For Example: # - # puts @greeting - # # => "Welcome to my shiny new web page! The date and time is 2018-09-06 11:09:16 -0500" + # @greeting # => "Welcome to my shiny new web page! The date and time is 2018-09-06 11:09:16 -0500" # def capture(*args) value = nil |