Sha256: aa613d912b47cb533fd3467077621377905804499deaa521a782c172c3d7319c
Contents?: true
Size: 860 Bytes
Versions: 1
Compression:
Stored size: 860 Bytes
Contents
# -*- encoding : utf-8 -*- class Card; module Set; class Abstract # Set: Abstract (HamlFile) # module HamlFile; extend Card::Set def self.source_location; "/Users/ezl5238/dev/decko/gem/mod/content/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; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat 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 end;end;end;end; # ~~ generated from /Users/ezl5238/dev/decko/gem/mod/content/set/abstract/haml_file.rb ~~
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
card-1.102.0 | tmpsets/set/mod006-content/abstract/haml_file.rb |