class OpenCensus::Trace::Samplers::NeverSample

The NeverSample sampler always returns false.

Public Instance Methods

call(_opts = {}) click to toggle source

Implements the sampler contract. Checks to see whether a sample should be taken at this time.

@return [boolean] Whether to sample at this time.

# File lib/opencensus/trace/samplers/never_sample.rb, line 29
def call _opts = {}
  false
end