Method: Blather::DSL#when_ready

Defined in:
lib/blather/client/dsl.rb

#when_ready(&block) ⇒ Object

Wrapper for “handle :ready” (just a bit of syntactic sugar)

This is run after the connection has been completely setup



194
195
196
# File 'lib/blather/client/dsl.rb', line 194

def when_ready(&block)
  handle :ready, &block
end