Sha256: 4852d2353fd6fff9765a36191c2fca1143d9c9aa057f64212fce4f3984e5105f
Contents?: true
Size: 334 Bytes
Versions: 9
Compression:
Stored size: 334 Bytes
Contents
module Trickster module Renderer class NormalRenderer def render(io,content,options) io.puts "<h1>#{content[0]}</h1>" io.puts "<h2>#{content[1]}</h2>" unless content[1].nil? || content[1] == '' io.puts "<h3>#{content[2]}</h3>" unless content[2].nil? || content[2] == '' end end end end
Version data entries
9 entries across 9 versions & 1 rubygems