lib/flipper/adapters/instrumented.rb in flipper-1.0.0 vs lib/flipper/adapters/instrumented.rb in flipper-1.1.0

- old
+ new

@@ -11,22 +11,18 @@ InstrumentationName = "adapter_operation.#{InstrumentationNamespace}".freeze # Private: What is used to instrument all the things. attr_reader :instrumenter - # Public: The name of the adapter. - attr_reader :name - # Internal: Initializes a new adapter instance. # # adapter - Vanilla adapter instance to wrap. # # options - The Hash of options. # :instrumenter - What to use to instrument all the things. # def initialize(adapter, options = {}) @adapter = adapter - @name = :instrumented @instrumenter = options.fetch(:instrumenter, Instrumenters::Noop) end # Public def features