Module: IIRC::Ambient::LabeledRequests

Defined in:
lib/iirc/modules/ambient.rb

Instance Method Summary collapse

Instance Method Details

#labeled_requestObject



55
56
57
58
59
60
# File 'lib/iirc/modules/ambient.rb', line 55

def labeled_request(*)
  initial_evt = ambient_event
  super do |reply|
    with_ambient_event(initial_evt) { yield reply }
  end
end