Sha256: 06855738ee95c31cff878a477bf9dde43677e797f68449ebc01d1640a6aa7380
Contents?: true
Size: 776 Bytes
Versions: 9
Compression:
Stored size: 776 Bytes
Contents
# -*- encoding : utf-8 -*- class Card; module Set; class Abstract # Set: Abstract (HamlFile) # module HamlFile; extend Card::Set def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/core/set/abstract/haml_file.rb"; end 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 module HtmlFormat; parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat def haml_locals {} end view :core do haml card.content, haml_locals end end end;end;end;end; # ~~ generated from /Users/ethan/dev/decko/gem/card/mod/core/set/abstract/haml_file.rb ~~
Version data entries
9 entries across 9 versions & 1 rubygems