Sha256: 7e18df0374cae45db98164911b198bd7c53f5ded9690a15d42fc219ac759e7ba
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
class Gator module ActAsTemplateGenerator def self.included(base) base.extend(ClassMethods) end module ClassMethods def template_root nil end def source_paths unless @template_roots @template_roots = [] @template_roots += Gator::Project.project.template_roots if Gator::Project.project @template_roots << Gator::Util.generator_template_root @template_roots << template_root if template_root end @template_roots end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gator-0.0.22.pre | lib/gator/plugins/generators/act_as_template_generator.rb |