Class: ContentfulConverter::Converter
- Inherits:
-
Object
- Object
- ContentfulConverter::Converter
- Defined in:
- lib/contentful_converter/converter.rb
Class Method Summary collapse
Class Method Details
.convert(html) ⇒ Object
10 11 12 13 14 |
# File 'lib/contentful_converter/converter.rb', line 10 def convert(html) raise_error_unless_string(html) convert_to_rich_text(nokogiri_fragment(html)) end |