Class: RailsDevTweaks::GranularAutoload::Matchers::XhrMatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_dev_tweaks/granular_autoload/matchers/xhr_matcher.rb

Instance Method Summary collapse

Instance Method Details

#call(request) ⇒ Object



3
4
5
# File 'lib/rails_dev_tweaks/granular_autoload/matchers/xhr_matcher.rb', line 3

def call(request)
  request.xhr?
end