Sha256: 317230bcdec692307700d7e9f0dac751a289dca669bd3e8970cb913b50e5b9eb

Contents?: true

Size: 798 Bytes

Versions: 9

Compression:

Stored size: 798 Bytes

Contents

o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsF:
@linei:@scope:
class:@docstringIC:YARD::Docstring":@ref_tags[:@objectu:YARD::StubProxy#MailEngine::Configuration.load:
@summary0:	@all":@line_range0:
@tags[:@parameters[:@namespaceu;MailEngine::Configuration:@files[["%lib/mail_engine/configuration.rbi:
@name:	load:
@dynamicT:
@path"#MailEngine::Configuration.load:@visibility:public:@source_type:	ruby:@signature"
def load:@source".def load
  require 'erb' # make config file support erb tags. like <% %>
  config_path = File.join(Rails.root, "config", "mail_engine_config.yml")
  MailEngine::Base.configurations = {}
  MailEngine::Base.configurations = YAML::load(ERB.new(IO.read(config_path)).result) if File.exist?(config_path)
end:@explicitT;[

Version data entries

9 entries across 9 versions & 1 rubygems

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