RubiGen::Commands::List

List a generator’s action manifest.

Public Instance Methods

class_collisions(*class_names) click to toggle source
     # File lib/rubigen/commands.rb, line 610
610:       def class_collisions(*class_names)
611:         logger.class_collisions class_names.join(', ')
612:       end
complex_template(relative_source, relative_destination, options = {}) click to toggle source
     # File lib/rubigen/commands.rb, line 622
622:       def complex_template(relative_source, relative_destination, options = {})
623:         logger.template "#{options[:insert]} inside #{relative_destination}"
624:       end
dependency(generator_name, args, options = {}) click to toggle source
     # File lib/rubigen/commands.rb, line 606
606:       def dependency(generator_name, args, options = {})
607:         logger.dependency "#{generator_name}(#{args.join(', ')}, #{options.inspect})"
608:       end
directory(relative_path) click to toggle source
     # File lib/rubigen/commands.rb, line 626
626:       def directory(relative_path)
627:         logger.directory "#{destination_path(relative_path)}/"
628:       end
file(relative_source, relative_destination, options = {}) click to toggle source
     # File lib/rubigen/commands.rb, line 614
614:       def file(relative_source, relative_destination, options = {})
615:         logger.file relative_destination
616:       end
migration_template(relative_source, relative_destination, options = {}) click to toggle source
     # File lib/rubigen/commands.rb, line 634
634:       def migration_template(relative_source, relative_destination, options = {})
635:         migration_directory relative_destination
636:         logger.migration_template file_name
637:       end
readme(*args) click to toggle source
     # File lib/rubigen/commands.rb, line 630
630:       def readme(*args)
631:         logger.readme args.join(', ')
632:       end
route_resources(*resources) click to toggle source
     # File lib/rubigen/commands.rb, line 639
639:       def route_resources(*resources)
640:         resource_list = resources.map { |r| r.to_sym.inspect }.join(', ')
641:         logger.route "map.resources #{resource_list}"
642:       end
template(relative_source, relative_destination, options = {}) click to toggle source
     # File lib/rubigen/commands.rb, line 618
618:       def template(relative_source, relative_destination, options = {})
619:         logger.template relative_destination
620:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.