Skip to content

Instantly share code, notes, and snippets.

@arathnim
Created February 2, 2018 16:48
Show Gist options
  • Save arathnim/0212ccfe1b78df74db091dfa72ded7d2 to your computer and use it in GitHub Desktop.
Save arathnim/0212ccfe1b78df74db091dfa72ded7d2 to your computer and use it in GitHub Desktop.
# fictional ruby irc library
class Remind < Command
defparser handle(time:t, raw_string:s)
remind_queue.push([t + current_time, s])
end
# start a thread to check over the queue
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment