Sha256: 667f2d4f146e0395d2391417b41331503325302a08c8b8a7cc56b0fd67bafffe

Contents?: true

Size: 1.2 KB

Versions: 9

Compression:

Stored size: 1.2 KB

Contents

o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsT:
@linei*:@scope:
instance:@docstringIC:YARD::Docstring"IInitialize an ActionView::Template object based on the record found.:@ref_tags[:@objectu:YARD::StubProxy9MailEngine::MailTemplateResolver#initialize_template:
@summary0:	@all["IInitialize an ActionView::Template object based on the record found.:@line_rangeo:
Range:endi):
begini):	exclF:
@tags[:@parameters[["record0:@namespaceu;%MailEngine::MailTemplateResolver:@files[[".lib/mail_engine/mail_template_resolver.rbi*:
@name:initialize_template:
@dynamicT:
@path"9MailEngine::MailTemplateResolver#initialize_template:@docstring_extra0:@visibility:public:@source_type:	ruby:@signature"$def initialize_template(record):@source"­def initialize_template(record)
  source = record.body

  identifier = "mail template - #{record.id} - #{record.path.inspect}"
  handler = ActionView::Template.registered_template_handler(record.handler)

  details = {
    :format => Mime[record.format],
    :updated_at => record.updated_at,
    :virtual_path => virtual_path(record.path, record.partial)
  }

  ActionView::Template.new(source, identifier, handler, details)
end:@explicitT;[

Version data entries

9 entries across 9 versions & 1 rubygems

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