Class: Fiona7::LinkConverter::ScrivitoToFiona
- Inherits:
-
Object
- Object
- Fiona7::LinkConverter::ScrivitoToFiona
- Defined in:
- lib/fiona7/link_converter/scrivito_to_fiona.rb
Instance Method Summary collapse
- #convert ⇒ Object
-
#initialize(klass, value) ⇒ ScrivitoToFiona
constructor
A new instance of ScrivitoToFiona.
Constructor Details
#initialize(klass, value) ⇒ ScrivitoToFiona
4 5 6 |
# File 'lib/fiona7/link_converter/scrivito_to_fiona.rb', line 4 def initialize(klass, value) @klass, @value = klass, value.to_str end |
Instance Method Details
#convert ⇒ Object
8 9 10 |
# File 'lib/fiona7/link_converter/scrivito_to_fiona.rb', line 8 def convert serialize_html end |