Sha256: e7dca3e0112c576ad8cb4d3f57f65bbb5bd19cc26ba996ba4dba5b7a018149dc

Contents?: true

Size: 884 Bytes

Versions: 9

Compression:

Stored size: 884 Bytes

Contents

o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsF:
@linei{:@scope:
instance:@docstringIC:YARD::Docstring":@ref_tags[:@objectu:YARD::StubProxy#ActionMailer::Collector#custom:
@summary0:	@all":@line_range0:
@tags[:@parameters[["	mime0["options"{}:@namespaceu;ActionMailer::Collector:@files[["+lib/mail_engine/action_mailer_patch.rbi{:
@name:custom:
@dynamicT:
@path"#ActionMailer::Collector#custom:@visibility:public:@source_type:	ruby:@signature"!def custom(mime, options={}):@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:@explicitT;[

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mail_engine-0.1.15 .yardoc/objects/ActionMailer/Collector/custom_i.dat
mail_engine-0.1.14 .yardoc/objects/ActionMailer/Collector/custom_i.dat
mail_engine-0.1.13 .yardoc/objects/ActionMailer/Collector/custom_i.dat
mail_engine-0.1.12 .yardoc/objects/ActionMailer/Collector/custom_i.dat
mail_engine-0.1.11 .yardoc/objects/ActionMailer/Collector/custom_i.dat
mail_engine-0.1.10 .yardoc/objects/ActionMailer/Collector/custom_i.dat
mail_engine-0.1.9 .yardoc/objects/ActionMailer/Collector/custom_i.dat
mail_engine-0.1.8 .yardoc/objects/ActionMailer/Collector/custom_i.dat
mail_engine-0.1.7 .yardoc/objects/ActionMailer/Collector/custom_i.dat