Fix missing spaces before and after equal signs in method definitions
This commit is contained in:
parent
bb1955d5fd
commit
975493a172
|
@ -530,7 +530,7 @@ module ActionMailer
|
|||
# The resulting Mail::Message will have the following in its header:
|
||||
#
|
||||
# X-Special-Domain-Specific-Header: SecretValue
|
||||
def headers(args=nil)
|
||||
def headers(args = nil)
|
||||
if args
|
||||
@_message.headers(args)
|
||||
else
|
||||
|
@ -660,7 +660,7 @@ module ActionMailer
|
|||
# format.html
|
||||
# end
|
||||
#
|
||||
def mail(headers={}, &block)
|
||||
def mail(headers = {}, &block)
|
||||
@_mail_was_called = true
|
||||
m = @_message
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ module ActionMailer
|
|||
end
|
||||
alias :all :any
|
||||
|
||||
def custom(mime, options={})
|
||||
def custom(mime, options = {})
|
||||
options.reverse_merge!(content_type: mime.to_s)
|
||||
@context.formats = [mime.to_sym]
|
||||
options[:body] = block_given? ? yield : @default_render.call
|
||||
|
|
Loading…
Reference in New Issue