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( = {}) PagesCore::HtmlFormatter.to_html(self, ) 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, = {}) to_html(.merge(append: append)) end |