Module: Whatup

Defined in:
lib/whatup.rb,
lib/whatup/cli/cli.rb,
lib/whatup/version.rb,
lib/whatup/client/client.rb,
lib/whatup/server/server.rb,
lib/whatup/server/db_init.rb,
lib/whatup/server/models/room.rb,
lib/whatup/server/redirection.rb,
lib/whatup/cli/commands/client.rb,
lib/whatup/cli/commands/server.rb,
lib/whatup/server/models/client.rb,
lib/whatup/server/models/message.rb,
lib/whatup/cli/commands/interactive/dm.rb,
lib/whatup/cli/commands/interactive/interactive.rb

Overview

Main module for whatup

Defined Under Namespace

Modules: CLI, Client, Server Classes: Error

Constant Summary collapse

VERSION =
'0.3.5'

Class Method Summary collapse

Class Method Details

.testing?Bool

Returns Whether or not the app is running in a test environment.

Returns:

  • (Bool)

    Whether or not the app is running in a test environment



12
13
14
# File 'lib/whatup.rb', line 12

def self.testing?
  !!defined?(RSpec)
end