Class: Fiona7::LinkConverter::ScrivitoToFiona

Inherits:
Object
  • Object
show all
Defined in:
lib/fiona7/link_converter/scrivito_to_fiona.rb

Instance Method Summary collapse

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

#convertObject



8
9
10
# File 'lib/fiona7/link_converter/scrivito_to_fiona.rb', line 8

def convert
  serialize_html
end