lib/rigit/commands/build.rb
# Call Rig#scaffold while checking each file to see if it should be
# overwritten or not.
Call Rig#scaffold while checking each file to see if it should be
overwritten or not.
Call Rig#scaffold while checking each file to see if it should be overwritten or not .
def scaffold(arguments)
        execute_actions config.before, arguments if config.has_key? :before
        rig.scaffold arguments: arguments, target_dir: target_dir do |file|
          overwrite_file? file
        end
        execute_actions config.after, arguments if config.has_key? :after
      end
def scaffold ( arguments ) execute_actions config . before , arguments if config . has_key? :before rig . scaffold arguments : arguments , target_dir : target_dir do | file | overwrite_file? file end execute_actions config . after , arguments if config . has_key? :after end
Call Rig#scaffold while checking each file to see if it should be
overwritten or not.
Call Rig#scaffold while checking each file to see if it should be overwritten or not .
arguments
<not_specific>