Sha256: c0416dd023f2c003d704fce8cfc9975b8f3c38c60154f8e8bf8e816d83be3aaa
Contents?: true
Size: 415 Bytes
Versions: 24
Compression:
Stored size: 415 Bytes
Contents
def self.included host_class host_class.mattr_accessor :template_path host_class.extend Card::Set::Format::HamlPaths host_class.template_path = host_class.haml_template_path end def content File.read template_path end format :html do view :input do "Content is managed by code and cannot be edited" end def haml_locals {} end view :core do haml card.content, haml_locals end end
Version data entries
24 entries across 24 versions & 1 rubygems