Sha256: cb1fae7a19cd17d78dc4c137b9f3540264d5bd264dfcfa8a1cd5d64f7e13f65f

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

require_relative '../base_generator'

module Howitzer
  class PagesGenerator < BaseGenerator
    def manifest
      { files:
        [
          { source: 'example_page.rb', destination: 'pages/example_page.rb'},
          { source: 'example_menu.rb', destination: 'pages/example_menu.rb'}
        ]
      }
    end

    protected
    def banner
      <<-EOS
      Creates PageOriented pattern structure
      EOS
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
howitzer-1.0.1 generators/pages/pages_generator.rb