mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Clarify api docs of ActionCable::SubscriptionAdapter::Test
Remove extra `:nodoc:` comment since private methods doesn't require that.
This commit is contained in:
parent
dc001dbd58
commit
0e42d3db59
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ module ActionCable
|
|||
# The test adapter should be used only in testing. Along with
|
||||
# <tt>ActionCable::TestHelper</tt> it makes a great tool to test your Rails application.
|
||||
#
|
||||
# To use the test adapter set adapter value to +test+ in your +cable.yml+.
|
||||
# To use the test adapter set +adapter+ value to +test+ in your +config/cable.yml+ file.
|
||||
#
|
||||
# NOTE: Test adapter extends the <tt>ActionCable::SubscriptionsAdapter::Async</tt> adapter,
|
||||
# so it could be used in system tests too.
|
||||
|
|
|
@ -125,7 +125,7 @@ module ActionCable
|
|||
delegate :broadcasts, :clear_messages, to: :pubsub_adapter
|
||||
|
||||
private
|
||||
def broadcasts_size(channel) # :nodoc:
|
||||
def broadcasts_size(channel)
|
||||
broadcasts(channel).size
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue