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.""/@param [Class] klass The middleware class.:@line_rangeo:
Range:endi:
begini:	exclF:@scope:
instance:
@linei:@explicitT:@parameters[["
klass0["
*args0:@files[[""lib/grape/middleware_stack.rbi:@current_file_has_commentsT

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grape-0.1.5 .yardoc/objects/Grape/MiddlewareStack/use_i.dat
grape-0.1.4 .yardoc/objects/Grape/MiddlewareStack/use_i.dat
grape-0.1.3 .yardoc/objects/Grape/MiddlewareStack/use_i.dat