Method: Honeycomb::Client#with_field

Defined in:
lib/honeycomb/client.rb

#with_field(key) ⇒ Object



87
88
89
# File 'lib/honeycomb/client.rb', line 87

def with_field(key)
  yield.tap { |value| add_field(key, value) }
end