lib/opentracing/carrier.rb in opentracing-0.4.0 vs lib/opentracing/carrier.rb in opentracing-0.4.1

- old
+ new

@@ -4,22 +4,19 @@ # `each` shown here. class Carrier # [] retrieves a value by the given key # @param key [String] key to retrieve the value # @return [String] the desired value - def [](key) - end + def [](key); end # []= sets the value for the given key # @param key [String] key to set # @param value [String] value to set - def []=(key, value) - end + def []=(key, value); end # each iterates over every key-value pair in the carrier # @yield [key, value] # @yieldparam key [String] the key of the tuple # @yieldparam value [String] the value of the tuple - def each(&block) - end + def each(&block); end end end