Module: PagesCore::Extensions::StringExtensions

Defined in:
lib/pages_core/extensions/string_extensions.rb

Instance Method Summary collapse

Instance Method Details

#to_html(options = {}) ⇒ Object



10
11
12
# File 'lib/pages_core/extensions/string_extensions.rb', line 10

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

#to_html_with(append, options = {}) ⇒ Object



6
7
8
# File 'lib/pages_core/extensions/string_extensions.rb', line 6

def to_html_with(append, options = {})
  to_html(options.merge(append: append))
end