aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/base.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-06-26 10:40:02 +0200
committerJosé Valim <jose.valim@gmail.com>2009-06-26 11:59:14 +0200
commit2f3681dfc24e51698b9b900a5d03950da4508d2c (patch)
tree2146601abf73dd53441764fc8845c75795a49bac /railties/lib/generators/base.rb
parent6bd101188e3396317d93d2d0692587d577ad9662 (diff)
downloadrails-2f3681dfc24e51698b9b900a5d03950da4508d2c.tar.gz
rails-2f3681dfc24e51698b9b900a5d03950da4508d2c.tar.bz2
rails-2f3681dfc24e51698b9b900a5d03950da4508d2c.zip
Clean up class collisions check and a class method helper.
Diffstat (limited to 'railties/lib/generators/base.rb')
-rw-r--r--railties/lib/generators/base.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/railties/lib/generators/base.rb b/railties/lib/generators/base.rb
index e5727b8938..ecc71e56c3 100644
--- a/railties/lib/generators/base.rb
+++ b/railties/lib/generators/base.rb
@@ -45,9 +45,8 @@ module Rails
protected
- # Check whether the given class names are already taken by Ruby or Rails.
- # In the future, expand to check other namespaces such as the rest of
- # the user's app.
+ # Check whether the given class names are already taken by user
+ # application or Ruby on Rails.
#
def class_collisions(*class_names)
return unless behavior == :invoke