lib/ruby-processing/runner.rb
# Install the included samples to a given path, where you can run and 
# alter them to your heart's content.
Install the included samples to a given path, where you can run and
alter them to your heart's content.
Install the included samples to a given path where you can run and alter them to your heart ' s content .
def unpack(dir)
      require 'fileutils'
      usage = "Usage: rp5 unpack [samples | library]"
      puts usage and return unless dir.match(/\A(samples|library)\Z/)
      FileUtils.cp_r("#{RP5_ROOT}/#{dir}", "#{Dir.pwd}/#{dir}")
    end
def unpack ( dir ) require 'fileutils' usage = "Usage: rp5 unpack [samples | library]" puts usage and return unless dir . match ( / \A (samples|library) \Z / ) FileUtils . cp_r ( "#{RP5_ROOT}/#{dir}" , "#{Dir.pwd}/#{dir}" ) end
Install the included samples to a given path, where you can run and
alter them to your heart's content.
Install the included samples to a given path where you can run and alter them to your heart ' s content .
dir