diff options
author | Sakshi Jain <sakshijain1107@gmail.com> | 2018-09-22 17:15:29 +0530 |
---|---|---|
committer | Sakshi Jain <sakshijain1107@gmail.com> | 2018-09-23 21:27:44 +0530 |
commit | 0fe2bb816f60f4daf5d0d24468af94be971d0eaf (patch) | |
tree | f944173b17105aaf2ba7539e05c734f85d3a43b9 /actioncable/test/channel | |
parent | d3b952184d8bdb6154aff1f8bc3eda58046026f6 (diff) | |
download | rails-0fe2bb816f60f4daf5d0d24468af94be971d0eaf.tar.gz rails-0fe2bb816f60f4daf5d0d24468af94be971d0eaf.tar.bz2 rails-0fe2bb816f60f4daf5d0d24468af94be971d0eaf.zip |
Remove private def
Diffstat (limited to 'actioncable/test/channel')
-rw-r--r-- | actioncable/test/channel/stream_test.rb | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/actioncable/test/channel/stream_test.rb b/actioncable/test/channel/stream_test.rb index bfe1f92946..f2fe8b4ce7 100644 --- a/actioncable/test/channel/stream_test.rb +++ b/actioncable/test/channel/stream_test.rb @@ -26,16 +26,17 @@ module ActionCable::StreamTests transmit_subscription_confirmation end - private def pick_coder(coder) - case coder - when nil, "json" - ActiveSupport::JSON - when "custom" - DummyEncoder - when "none" - nil + private + def pick_coder(coder) + case coder + when nil, "json" + ActiveSupport::JSON + when "custom" + DummyEncoder + when "none" + nil + end end - end end module DummyEncoder |