Sha256: 8dfb9570387dc162b91d61ba587b642dfc85c7e7659dcbaf4a0fc7eed1bfc1e8
Contents?: true
Size: 882 Bytes
Versions: 1
Compression:
Stored size: 882 Bytes
Contents
o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsF: @lineij:@signature"!def custom(mime, options={}):@scope: instance:@source"Mdef custom(mime, options={}) options.reverse_merge!(:content_type => mime.to_s) @context.freeze_formats([mime.to_sym]) ### modified this line # change from: # options[:body] = block_given? ? yield : @default_render.call options[:body] = block_given? ? yield : @default_render.call(mime.to_sym) @responses << options end: @tags[ :@docstringIC:YARD::Docstring"