Rails::Generators::Actions

module Rails::Generators::Actions

Public Instance Methods

add_source(source, options={}, &block) Show source

Add the given source to Gemfile

If block is given, gem entries in block are wrapped into the source group.

add_source "http://gems.github.com/"

add_source "http://gems.github.com/" do
  gem "rspec-rails"
end
# File railties/lib/rails/generators/actions.rb, l