
19 Jan
2021
19 Jan
'21
4:38 p.m.
+SEND_MAIL_HOST ||= defaults['SEND_MAIL_HOST'] || 'localhost' +SEND_MAIL_PORT ||= defaults['SEND_MAIL_PORT'] || 49000
the pattern "A = a || b" is nice than "A ||= a || b", why modify it ?
see the change log, this is for constant definition case you have defined the constant somewhere else, when you re-define it, it will throw wraning Thanks Luan Shengde
Thanks, Dewan
LAB = defaults['lab'] TOOL_SERVER = 'z9'
-- 2.23.0