class ObjCGenerator::FileCopier

Public Instance Methods

copy_categories(dest) click to toggle source
# File lib/ObjCGenerator/file_copier.rb, line 9
def copy_categories(dest)
  FileUtils.cp_r( Dir.glob(template_path + '/**/*.{h,m}'), dest)
end
template_path() click to toggle source
# File lib/ObjCGenerator/file_copier.rb, line 4
def template_path
  File.join(File.expand_path("../..", File.dirname(__FILE__)), "templates")
end