Sha256: f52690db55d8d53c7ce69c1c154c9e9974523569f83af10a005e700993ebb629
Contents?: true
Size: 1.23 KB
Versions: 8
Compression:
Stored size: 1.23 KB
Contents
# #-- # # $Id: default.rb 531 2006-11-17 17:56:14Z thomas $ # # webgen: template based static website generator # Copyright (C) 2004 Thomas Leitner # # This program is free software; you can redistribute it and/or modify it under the terms of the GNU # General Public License as published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License along with this program; if not, # write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # #++ # module ContentConverters class DefaultContentConverter < Webgen::HandlerPlugin infos( :name => 'ContentConverter/Default', :author => Webgen::AUTHOR, :summary => "Base class for content to HTML converters" ) # Convert the given +content+ to HTML. Has to be overridden in subclasses! def call( content ) raise NotImplementedError end end end
Version data entries
8 entries across 8 versions & 1 rubygems