Sha256: e446bf96d763bb9829684952cefcd808046112c806c23dfd12ce453d9a84493d

Contents?: true

Size: 193 Bytes

Versions: 2

Compression:

Stored size: 193 Bytes

Contents

require 'htmlbeautifier'

module WebammToRails
  module Utils
    class FormatTemplate
      def self.call(raw_content)
        HtmlBeautifier.beautify(raw_content)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webamm_to_rails-7.0.1 lib/webamm_to_rails/utils/format_template.rb
webamm_to_rails-7.0.0 lib/webamm_to_rails/utils/format_template.rb