Class: RubiGen::Commands::List

### Home Classes Methods

### In Files

- lib/rubigen/commands.rb

### Parent

RubiGen::Commands::Base

### Methods

- #class_collisions
- #complex_template
- #dependency
- #directory
- #file
- #migration_template
- #readme
- #route_resources
- #template

### Files

- History.txt
- License.txt
- Manifest.txt
- Todo.txt
- README.txt
- index.txt
- version-raw.txt
- version.txt

### Class/Module Index

Quicksearch

- RubiGen
- RubiGen::AbstractGemSource
- RubiGen::Base
- RubiGen::Commands
- RubiGen::Commands::Base
- RubiGen::Commands::Create
- RubiGen::Commands::Destroy
- RubiGen::Commands::List
- RubiGen::Commands::RewindBase
- RubiGen::Commands::Update
- RubiGen::GemPathSource
- RubiGen::GeneratedAttribute
- RubiGen::GeneratorError
- RubiGen::GeneratorTestHelper
- RubiGen::Lookup
- RubiGen::Lookup::ClassMethods
- RubiGen::Manifest
- RubiGen::Options
- RubiGen::Options::ClassMethods
- RubiGen::PathFilteredSource
- RubiGen::PathSource
- RubiGen::Scripts
- RubiGen::Scripts::Base
- RubiGen::Scripts::Destroy
- RubiGen::Scripts::Generate
- RubiGen::Scripts::Update
- RubiGen::Source
- RubiGen::Spec
- RubiGen::UsageError
- Rubigen
- Rubigen::CLI
- Dir
- Object

No matching classes.

# 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
    def class_collisions(*class_names)
      logger.class_collisions class_names.join(', ')
    end

complex_template(relative_source, relative_destination, options = {}) click to toggle source

    # File lib/rubigen/commands.rb, line 622
    def complex_template(relative_source, relative_destination, options = {})
      logger.template "#{options[:insert]} inside #{relative_destination}"
    end

dependency(generator_name, args, options = {}) click to toggle source

    # File lib/rubigen/commands.rb, line 606
    def dependency(generator_name, args, options = {})
      logger.dependency "#{generator_name}(#{args.join(', ')}, #{options.inspect})"
    end

directory(relative_path) click to toggle source

    # File lib/rubigen/commands.rb, line 626
    def directory(relative_path)
      logger.directory "#{destination_path(relative_path)}/"
    end

file(relative_source, relative_destination, options = {}) click to toggle source

    # File lib/rubigen/commands.rb, line 614
    def file(relative_source, relative_destination, options = {})
      logger.file relative_destination
    end

migration_template(relative_source, relative_destination, options = {}) click to toggle source

    # File lib/rubigen/commands.rb, line 634
    def migration_template(relative_source, relative_destination, options = {})
      migration_directory relative_destination
      logger.migration_template file_name
    end

readme(*args) click to toggle source

    # File lib/rubigen/commands.rb, line 630
    def readme(*args)
      logger.readme args.join(', ')
    end

route_resources(*resources) click to toggle source

    # File lib/rubigen/commands.rb, line 639
    def route_resources(*resources)
      resource_list = resources.map { |r| r.to_sym.inspect }.join(', ')
      logger.route "map.resources #{resource_list}"
    end

template(relative_source, relative_destination, options = {}) click to toggle source

    # File lib/rubigen/commands.rb, line 618
    def template(relative_source, relative_destination, options = {})
      logger.template relative_destination
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.