Sha256: 4d1252a1daa160ec142dfdf7d41f7c3e60197ae16e09dc7431380c83ec9995b4
Contents?: true
Size: 1.05 KB
Versions: 3
Compression:
Stored size: 1.05 KB
Contents
o:$YARD::CodeObjects::MethodObject: @tags[ :@visibility:public:@signature"def use(klass, *args): @name:use:@namespaceu:YARD::StubProxyGrape::MiddlewareStack:@source"£def use(klass, *args) if index = @stack.index(@stack.find{|a| a.first == klass}) @stack[index] = [klass, *args] else @stack << [klass, *args] end end: @dynamicT:@docstring_extra0:@source_type: ruby:@docstringIC:YARD::Docstring"mAdd a new middleware to the stack. Syntax is identical to normal middleware <tt>#use</tt> functionality.:@objectu; Grape::MiddlewareStack#use;[o:YARD::Tags::Tag ;u; Grape::MiddlewareStack#use:@tag_name" param; " klass:@types[" Class: @text"The middleware class.:@ref_tags[ : @summary0: @all[ ".Add a new middleware to the stack. Syntax"4is identical to normal middleware <tt>#use</tt>"functionality."