In: |
kwartz.rb
|
Parent: | Object |
abstract class
ex.
class MyConverter < Converter def initialize(input_str='', toppings={}) super(input_str, toppings) ... end def convert ... end end str = File.open('file.html') { |f| f.read } converter = MyConverter.new(str) print converter.convert
input | [RW] | |
newline | [RW] | |
toppings | [RW] |