require "json" class Hypernova::BlankRenderer def initialize(job) @job = job end def render <<-HTML
HTML end private attr_reader :job def data job[:data] end def encode JSON.generate(data).gsub(/&/, '&').gsub(/>/, '>') end def key name.gsub(/\W/, "") end def name job[:name] end end