Sha256: d2ebe78fcc0e703cae6468809a89b291d1479de4af3d9a17936fa056feb47ece

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

# encoding: utf-8

module PagesCore
  module Extensions
    module StringExtensions
      def to_html_with(append, options = {})
        to_html(options.merge(append: append))
      end

      def to_html(options = {})
        PagesCore::HtmlFormatter.to_html(self, options)
      end
    end
  end
end

String.send(:include, PagesCore::Extensions::StringExtensions)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_core-3.4.3 lib/pages_core/extensions/string_extensions.rb
pages_core-3.5.1 lib/pages_core/extensions/string_extensions.rb
pages_core-3.4.2 lib/pages_core/extensions/string_extensions.rb