class OpenTracing::Instrumentation::Rack::StaticCommandNameBuilder

StaticCommandNameBuilder build static command_name

Constants

DEFAULT_COMMAND_NAME

Public Class Methods

new( command_name: DEFAULT_COMMAND_NAME ) click to toggle source
# File lib/opentracing/instrumentation/rack/static_command_name_builder.rb, line 10
def initialize(
  command_name: DEFAULT_COMMAND_NAME
)
  @command_name = command_name
end

Public Instance Methods

build_command_name(_env) click to toggle source
# File lib/opentracing/instrumentation/rack/static_command_name_builder.rb, line 16
def build_command_name(_env)
  @command_name
end