lib/bootstrap-email.rb in bootstrap-email-0.2.4 vs lib/bootstrap-email.rb in bootstrap-email-0.2.5

- old
+ new

@@ -58,12 +58,13 @@ end private def bootstrap_email_head + engine = defined?(SassC::Engine).nil? ? Sass::Engine : SassC::Engine html_string = <<-HEREDOC <style type="text/css"> - #{Sass::Engine.new(File.open(File.expand_path('../core/head.scss', __dir__)).read, {syntax: :scss, style: :compressed, cache: false, read_cache: false}).render} + #{engine.new(File.open(File.expand_path('../core/head.scss', __dir__)).read, {syntax: :scss, style: :compressed, cache: false, read_cache: false}).render} </style> HEREDOC html_string end