Sha256: 5e115b38eb7f1c4a42909a82404d0b198470febc76236a94da7d8c444c2cb5a2

Contents?: true

Size: 365 Bytes

Versions: 10

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

module BootstrapEmail
  module Converter
    class VersionComment < Base
      def build
        doc.at_css('head').prepend_child(bootstrap_email_comment)
      end

      private

      def bootstrap_email_comment
        "\n    <!-- Compiled with Bootstrap Email version: #{BootstrapEmail::VERSION} -->"
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bootstrap-email-1.5.1 lib/bootstrap-email/converters/version_comment.rb
bootstrap-email-1.5.0 lib/bootstrap-email/converters/version_comment.rb
bootstrap-email-1.4.1 lib/bootstrap-email/converters/version_comment.rb
bootstrap-email-1.4.0 lib/bootstrap-email/converters/version_comment.rb
bootstrap-email-1.3.1 lib/bootstrap-email/converters/version_comment.rb
bootstrap-email-1.3.0 lib/bootstrap-email/converters/version_comment.rb
bootstrap-email-1.2.0 lib/bootstrap-email/converters/version_comment.rb
bootstrap-email-1.1.7 lib/bootstrap-email/converters/version_comment.rb
bootstrap-email-1.1.6 lib/bootstrap-email/converters/version_comment.rb
bootstrap-email-1.1.5 lib/bootstrap-email/converters/version_comment.rb