Sha256: caf9baedb7474326751b833187e0a7c7d043ebb08b081fe4547d9c8206417ee2
Contents?: true
Size: 272 Bytes
Versions: 47
Compression:
Stored size: 272 Bytes
Contents
module Onebox class View < Mustache attr_reader :record self.template_path = Onebox.options.load_paths.last def initialize(name, record) @record = record self.template_name = name end def to_html render(record) end end end
Version data entries
47 entries across 47 versions & 1 rubygems