Skip to content

Instantly share code, notes, and snippets.

@TylerBrock
Created July 28, 2012 16:57
Show Gist options
  • Save TylerBrock/3193996 to your computer and use it in GitHub Desktop.
Save TylerBrock/3193996 to your computer and use it in GitHub Desktop.
class Monitor
def initalize
puts "whatup"
@thread = Thread.new {
loop do
puts "ReplSetMonitor refreshing!"
sleep(1)
end
}
end
end
Monitor.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment