Method: Rails::Generator::Lookup::ClassMethods#append_sources

Defined in:
lib/rails_generator/lookup.rb

#append_sources(*args) ⇒ Object

Add a source to the end of the list.



70
71
72
73
# File 'lib/rails_generator/lookup.rb', line 70

def append_sources(*args)
  sources.concat(args.flatten)
  invalidate_cache!
end