Class: ActionDispatch::Journey::Route::VerbMatchers::Unknown
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | actionpack/lib/action_dispatch/journey/route.rb |
Class Method Summary
- .new(verb) ⇒ Unknown constructor
Instance Attribute Summary
- #verb readonly
Instance Method Summary
Constructor Details
.new(verb) ⇒ Unknown
Instance Attribute Details
#verb (readonly)
[ GitHub ]# File 'actionpack/lib/action_dispatch/journey/route.rb', line 27
attr_reader :verb
Instance Method Details
#call(request)
[ GitHub ]# File 'actionpack/lib/action_dispatch/journey/route.rb', line 33
def call(request); @verb == request.request_method; end