Class: TrackerHub::Request::Utils::Env
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- TrackerHub::Request::Utils::Env
- Defined in:
- lib/tracker_hub/request/utils/env.rb
Overview
SimpleDelegator wrapping class for rack environment
Instance Method Summary collapse
-
#trackable? ⇒ Boolean
Should the request tracker log the current request.
Instance Method Details
#trackable? ⇒ Boolean
Should the request tracker log the current request
17 18 19 |
# File 'lib/tracker_hub/request/utils/env.rb', line 17 def trackable? '/assets' != self['SCRIPT_NAME'] end |