class Onyx::FakeServer
Public Class Methods
start()
click to toggle source
# File lib/onyx_client/fake_server.rb, line 36 def self.start @thread = Thread.new do run! end sleep(1) end
stop()
click to toggle source
# File lib/onyx_client/fake_server.rb, line 43 def self.stop @thread.kill end