Module: Tinder

Defined in:
lib/tinder.rb,
lib/tinder/room.rb,
lib/tinder/version.rb,
lib/tinder/campfire.rb,
lib/tinder/connection.rb

Defined Under Namespace

Classes: AuthenticationFailed, Campfire, Connection, Error, ListenFailed, Room, SSLRequiredError

Constant Summary collapse

VERSION =
'1.9.3'

Class Method Summary collapse

Class Method Details

.loggerObject



13
14
15
# File 'lib/tinder.rb', line 13

def self.logger
  @logger ||= Logger.new(ENV['TINDER_LOGGING'] ? STDOUT : nil)
end

.logger=(logger) ⇒ Object



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

def self.logger=(logger)
  @logger = logger
end