Sha256: 4cfa8801e92d156cf706cd0bd2b5e7d5e0afba615e9b546dce6742f1ed8f0846

Contents?: true

Size: 1.16 KB

Versions: 9

Compression:

Stored size: 1.16 KB

Contents

o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsF:
@linei:@scope:
instance:@docstringIC:YARD::Docstring":@ref_tags[:@objectu:YARD::StubProxy4MailEngine::MailTemplateResolver#find_templates:
@summary0:	@all":@line_range0:
@tags[:@parameters[	["	name0["prefix0["partial0["details0:@namespaceu;%MailEngine::MailTemplateResolver:@files[[".lib/mail_engine/mail_template_resolver.rbi:
@name:find_templates:
@dynamicT:
@path"4MailEngine::MailTemplateResolver#find_templates:@visibility:public:@source_type:	ruby:@signature"7def find_templates(name, prefix, partial, details):@source"def find_templates(name, prefix, partial, details)
  template_path_and_name = prefix.include?("mail_engine/mail_dispatcher") ? normalize_path(name, nil) : normalize_path(name, prefix)

  conditions = {
    :path    => template_path_and_name,
    :locale  => normalize_array(details[:locale]).first,
    :format  => normalize_array(details[:formats]).first,
    :handler => normalize_array(details[:handlers]),
    :partial => partial || false
  }

  MailTemplate.where(conditions).map do |record|
    initialize_template(record)
  end
end:@explicitT;[

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mail_engine-0.1.15 .yardoc/objects/MailEngine/MailTemplateResolver/find_templates_i.dat
mail_engine-0.1.14 .yardoc/objects/MailEngine/MailTemplateResolver/find_templates_i.dat
mail_engine-0.1.13 .yardoc/objects/MailEngine/MailTemplateResolver/find_templates_i.dat
mail_engine-0.1.12 .yardoc/objects/MailEngine/MailTemplateResolver/find_templates_i.dat
mail_engine-0.1.11 .yardoc/objects/MailEngine/MailTemplateResolver/find_templates_i.dat
mail_engine-0.1.10 .yardoc/objects/MailEngine/MailTemplateResolver/find_templates_i.dat
mail_engine-0.1.9 .yardoc/objects/MailEngine/MailTemplateResolver/find_templates_i.dat
mail_engine-0.1.8 .yardoc/objects/MailEngine/MailTemplateResolver/find_templates_i.dat
mail_engine-0.1.7 .yardoc/objects/MailEngine/MailTemplateResolver/find_templates_i.dat