Class: Rack::Tracker::HandlerSet::Handler

Inherits:
Struct
  • Object
show all
Defined in:
lib/rack/tracker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configurationObject

Returns the value of attribute configuration

Returns:

  • (Object)

    the current value of configuration



71
72
73
# File 'lib/rack/tracker.rb', line 71

def configuration
  @configuration
end

#klassObject

Returns the value of attribute klass

Returns:

  • (Object)

    the current value of klass



71
72
73
# File 'lib/rack/tracker.rb', line 71

def klass
  @klass
end

Instance Method Details

#init(env) ⇒ Object



72
73
74
# File 'lib/rack/tracker.rb', line 72

def init(env)
  klass.new(env, configuration)
end