Sha256: f71b2e204dcf86c2cd299442c1237990e7eb6d88532558b1c1c9ba8d3e501d29
Contents?: true
Size: 549 Bytes
Versions: 1
Compression:
Stored size: 549 Bytes
Contents
require 'taza/generators/base' module Taza module Generators class Site < Base attr_accessor :file_name def initialize(file_name) @file_name = file_name end def folder_path File.join('lib','sites') end def generate file "site.rb.erb", File.join(folder_path,"#{file_name}.rb") folder File.join(folder_path,"#{file_name}") folder File.join(folder_path,"#{file_name}","flows") folder File.join(folder_path,"#{file_name}","pages") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
taza-0.5.0 | lib/taza/generators/site.rb |