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



76
77
78
# File 'lib/rack/tracker.rb', line 76

def configuration
  @configuration
end

#klassObject

Returns the value of attribute klass

Returns:

  • (Object)

    the current value of klass



76
77
78
# File 'lib/rack/tracker.rb', line 76

def klass
  @klass
end

Instance Method Details

#init(env) ⇒ Object



77
78
79
# File 'lib/rack/tracker.rb', line 77

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