Module: Y::ActionCable

Included in:
DocumentChannel
Defined in:
lib/y/action_cable.rb,
lib/y/action_cable/sync.rb

Overview

rubocop:disable Style/ClassAndModuleChildren

Defined Under Namespace

Modules: Sync

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

include Y::ActionCable forwards to Y::ActionCable::Sync, the module's home. Both spellings work; the short one reads better in a channel.



17
18
19
# File 'lib/y/action_cable.rb', line 17

def self.included(base)
  base.include(Sync)
end