class Stall::ViewGenerator
Constants
- VIEWS_DIR
Public Instance Methods
copy_view_template()
click to toggle source
# File lib/generators/stall/view/view_generator.rb, line 8 def copy_view_template paths = file_paths.map { |file_path| ViewTemplate.new(file_path) } paths.each do |view_template| template(view_template.source_path, view_template.target_path) end end