Sha256: 4cddb8632bf8e68bfa10895ca3ab277203acda4d578bbc0979110ef32bb9fafd
Contents?: true
Size: 303 Bytes
Versions: 11
Compression:
Stored size: 303 Bytes
Contents
module Mumukit::ContentType::Html extend Mumukit::ContentType::BaseContentType def self.title(title) "<strong>#{title}</strong>" end def self.code(code) "<pre>#{code}</pre>" end def self.to_html(content) content.html_safe if content end def self.name 'html' end end
Version data entries
11 entries across 11 versions & 1 rubygems