Module: Domodoro

Extended by:
Domodoro
Included in:
Domodoro
Defined in:
lib/domodoro.rb,
lib/domodoro/client.rb,
lib/domodoro/config.rb,
lib/domodoro/server.rb,
lib/domodoro/channel.rb,
lib/domodoro/version.rb,
lib/domodoro/schedule.rb,
lib/domodoro/timepoint.rb

Defined Under Namespace

Modules: Config Classes: Channel, Client, Schedule, Server, Timepoint

Constant Summary collapse

VERSION =
"0.1.0"

Instance Method Summary collapse

Instance Method Details

#start(action, *args) ⇒ Object



14
15
16
17
18
19
20
21
# File 'lib/domodoro.rb', line 14

def start(action, *args)
  case action
  when 'serve', 'server'
    Server.start(*args)
  when 'join', 'connect'
    Client.start(*args)
  end
end