Sha256: 32bbca2c3fcf6bd2965936ae4cb418304eaf1b7ad27dfaaf60768d44987eac91
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 Bytes
Contents
require 'rbconfig' class PagesGenerator < RubiGen::Base def initialize(runtime_args, runtime_options = {}) super @destination_root = File.expand_path('pages') end def manifest record do |m| m.directory '' m.template 'example_page.rb', 'example_page.rb' m.template 'example_menu.rb', 'example_menu.rb' end end protected def banner <<-EOS Creates PageOriented pattern structure EOS end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
howitzer-0.0.3 | generators/pages/pages_generator.rb |
howitzer-0.0.1 | generators/pages/pages_generator.rb |