Module: Chat

Defined in:
lib/chat.rb,
lib/chat/user.rb,
lib/chat/engine.rb,
lib/chat/version.rb,
app/models/chat/dot_command.rb,
app/jobs/chat/application_job.rb,
app/jobs/chat/status_relay_job.rb,
app/jobs/chat/message_relay_job.rb,
app/models/chat/dot_command/gif.rb,
app/models/chat/dot_command/shrug.rb,
app/helpers/chat/application_helper.rb,
app/mailers/chat/application_mailer.rb,
app/jobs/chat/notification_relay_job.rb,
app/models/chat/dot_command/validator.rb,
app/controllers/chat/messages_controller.rb,
app/controllers/chat/application_controller.rb,
app/controllers/chat/conversations_controller.rb,
lib/generators/chat/install/install_generator.rb

Defined Under Namespace

Modules: ApplicationHelper, Generators, User Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Conversation, ConversationsController, DotCommand, Engine, Message, MessageRelayJob, MessagesChannel, MessagesController, NotificationChannel, NotificationRelayJob, Session, StatusChannel, StatusRelayJob

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Chat)

    the object that the method was called on



32
33
34
# File 'lib/chat.rb', line 32

def self.setup
  yield self
end

.table_name_prefixObject



28
29
30
# File 'lib/chat.rb', line 28

def self.table_name_prefix
  "chat_"
end