Project

General

Profile

« Previous | Next » 

Revision 15dbaea7

Added by Marc Dequènes almost 11 years ago

[fix] correct evaluation problem in block context

View differences:

lib/cyborghood/mail.rb
def deliver
unless self.class.delivery_initialized
config = @config
::Mail.defaults do
delivery_method :smtp, {
:address => @config.mail.smtp_server,
:port => @config.mail.smtp_port
:address => config.mail.smtp_server,
:port => config.mail.smtp_port
}
end

Also available in: Unified diff