.yardoc/objects/MailEngine/Configuration/load_c.dat in mail_engine-0.1.0 vs .yardoc/objects/MailEngine/Configuration/load_c.dat in mail_engine-0.1.1
- old
+ new
@@ -1,11 +1,11 @@
-o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsF:
-@linei:@signature"
def load:@scope:
-class:@source"źdef load
- require 'erb'
-
+o:$YARD::CodeObjects::MethodObject:@visibility:public:@source_type: ruby:@scope:
+class:@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 = YAML::load(ERB.new(IO.read(config_path)).result)
-end:
-@tags[ :@docstringIC:YARD::Docstring"