File: noop.rb

package info (click to toggle)
ruby-flipper 0.26.2-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,288 kB
  • sloc: ruby: 16,377; sh: 61; javascript: 24; makefile: 14
file content (9 lines) | stat: -rw-r--r-- 166 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
module Flipper
  module Instrumenters
    class Noop
      def self.instrument(_name, payload = {})
        yield payload if block_given?
      end
    end
  end
end