Sha256: 9270e1054390ca325da567b7c5ea27de271b555c672fa7a79c770babde249b50

Contents?: true

Size: 1006 Bytes

Versions: 3

Compression:

Stored size: 1006 Bytes

Contents

o:$YARD::CodeObjects::MethodObject:
@tags[:@visibility:protected:@signature"def nest(*blocks, &block):
@name:	nest:@namespaceu:YARD::StubProxyGrape::API:@source"ğdef nest(*blocks, &block)
  blocks.reject!{|b| b.nil?}
  if blocks.any?
    settings_stack << {}
    instance_eval &block if block_given?
    blocks.each{|b| instance_eval &b}
    settings_stack.pop
  else
    instance_eval &block
  end
end:
@dynamicT:@docstring_extra0:@source_type:	ruby:@docstringIC:YARD::Docstring"Execute first the provided block, then each of the
block passed in. Allows for simple 'before' setups
of settings stack pushes.:@objectu;
Grape::API.nest;[:@ref_tags[:
@summary0:	@all["7Execute first the provided block, then each of the"7block passed in. Allows for simple 'before' setups"of settings stack pushes.:@line_rangeo:
Range:endi¹:
begini·:	exclF:@scope:
class:
@lineiº:@explicitT:@parameters[["*blocks0["&block0:@files[["lib/grape/api.rbiº:@current_file_has_commentsT

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grape-0.1.5 .yardoc/objects/Grape/API/nest_c.dat
grape-0.1.4 .yardoc/objects/Grape/API/nest_c.dat
grape-0.1.3 .yardoc/objects/Grape/API/nest_c.dat