Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 412 Bytes
require 'eventmachine'
require "domodoro/version"
require "domodoro/schedule"
require "domodoro/timepoint"
require "domodoro/config"
require "domodoro/channel"
require "domodoro/server"
require "domodoro/client"
module Domodoro
extend self
def start(action, *args)
case action
when 'serve', 'server'
Server.start(*args)
when 'join', 'connect'
Client.start(*args)
end
end
end