module Pinport::Generator
Public Class Methods
generate_config(output = 'config.yml')
click to toggle source
# File lib/pinport/generators/generator.rb, line 7 def self.generate_config(output = 'config.yml') FileUtils.copy("#{templates_path}/config/config.yml", "#{output}") end
templates_path()
click to toggle source
# File lib/pinport/generators/generator.rb, line 3 def self.templates_path File.expand_path('../templates', __FILE__) end