From bf495069cbad76bebbe775fc4c0f8f88ddf29099 Mon Sep 17 00:00:00 2001 From: Joseph Zidell Date: Thu, 3 Oct 2013 18:30:42 -0400 Subject: Fixed return strings in documentation --- actionview/lib/action_view/helpers/asset_tag_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionview/lib') diff --git a/actionview/lib/action_view/helpers/asset_tag_helper.rb b/actionview/lib/action_view/helpers/asset_tag_helper.rb index 0400122717..e2430140c2 100644 --- a/actionview/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionview/lib/action_view/helpers/asset_tag_helper.rb @@ -225,13 +225,13 @@ module ActionView # ==== Examples # # image_alt('rails.png') - # # => Rails + # # => Rails # # image_alt('hyphenated-file-name.png') - # # => Hyphenated file name + # # => Hyphenated file name # # image_alt('underscored_file_name.png') - # # => Underscored file name + # # => Underscored file name def image_alt(src) File.basename(src, '.*').sub(/-[[:xdigit:]]{32}\z/, '').tr('-_', ' ').capitalize end -- cgit v1.2.3