lib/rubigen/helpers/generator_test_helper.rb
# Runs the create command (like the command line does)
Runs the create command (like the command line does)
Runs the create command ( like the command line does )
def run_generator(name, params, sources, options = {})
      generator = build_generator(name, params, sources, options)
      silence_generator do
        generator.command(:create).invoke!
      end
      generator
    end
def run_generator ( name , params , sources , options = { } ) generator = build_generator ( name , params , sources , options ) silence_generator do generator . command ( :create ) . invoke! end generator end
Runs the create command (like the command line does)
Runs the create command ( like the command line does )
name
<not_specific>
params
<not_specific>
sources
<not_specific>
options
<not_specific>