Module: PolylingoChat::Realtime

Defined in:
lib/polylingo_chat/realtime.rb

Class Method Summary collapse

Class Method Details

.channel_templateObject



3
4
5
6
# File 'lib/polylingo_chat/realtime.rb', line 3

def self.channel_template
  # returns a string of the channel implementation for host app generator
  File.read(File.expand_path('../../templates/polylingo_chat_chat_channel.rb', __dir__))
end