diff options
author | Shuhei Kitagawa <shuhei.kitagawa@c-fo.com> | 2017-10-28 17:20:38 +0900 |
---|---|---|
committer | Shuhei Kitagawa <shuhei.kitagawa@c-fo.com> | 2017-10-28 17:20:38 +0900 |
commit | c40b4428e6d3885a8adc0ceba3aeac7599c14879 (patch) | |
tree | 3e947346605a4032d95fc28b6b38da7c624c2e81 /actionview/lib/action_view | |
parent | bf6456e05395583809f4565844a8dc088431fce7 (diff) | |
download | rails-c40b4428e6d3885a8adc0ceba3aeac7599c14879.tar.gz rails-c40b4428e6d3885a8adc0ceba3aeac7599c14879.tar.bz2 rails-c40b4428e6d3885a8adc0ceba3aeac7599c14879.zip |
removed unnecessary returns
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/helpers/text_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/text_helper.rb b/actionview/lib/action_view/helpers/text_helper.rb index 3044a2c0ef..84d38aa416 100644 --- a/actionview/lib/action_view/helpers/text_helper.rb +++ b/actionview/lib/action_view/helpers/text_helper.rb @@ -422,7 +422,7 @@ module ActionView def to_s value = @values[@index].to_s @index = next_index - return value + value end private @@ -446,7 +446,7 @@ module ActionView # uses an instance variable of ActionView::Base. def get_cycle(name) @_cycles = Hash.new unless defined?(@_cycles) - return @_cycles[name] + @_cycles[name] end def set_cycle(name, cycle_object) |