Sha256: 295230a8fff7fa89e7c536717b45db8b07a283e05586fc60d1eda79271652d47
Contents?: true
Size: 833 Bytes
Versions: 6
Compression:
Stored size: 833 Bytes
Contents
# Copyright:: Copyright (c) 2005 Uttk Team. All rights reserved. # Author:: Nicolas Pouillard <ertai@lrde.epita.fr>. # License:: LGPL # Revision:: $Id: /w/fey/uttk/trunk/lib/uttk/generators/generator_generator.rb 21975 2006-02-19T22:24:11.182512Z pouillar $ class Uttk::Generators::GeneratorGenerator < Uttk::Generators::Generator def manifest # FIXME do not ignore class_path record do |m| # Check for class naming collisions. m.class_collisions class_path, class_name, "Uttk::Generators::#{class_name}Generator" m.directory root/lib/uttk/generators m.template 'generator.rb', root/lib/uttk/generators/"#{file_name}_generator.rb" end end def module_name class_name.pluralize end end # class Uttk::Generators::GeneratorGenerator
Version data entries
6 entries across 6 versions & 1 rubygems