diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-14 15:44:14 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-14 15:44:14 +0200 |
commit | e96af1eaa22b649e5df816d7931bd3e912e7a6bc (patch) | |
tree | 3659007f9219c82f3177edaf3b3f675fd85d0243 /railties/lib/generators.rb | |
parent | 925c9104e0d6dd492c6847ce289fe11fc5613174 (diff) | |
download | rails-e96af1eaa22b649e5df816d7931bd3e912e7a6bc.tar.gz rails-e96af1eaa22b649e5df816d7931bd3e912e7a6bc.tar.bz2 rails-e96af1eaa22b649e5df816d7931bd3e912e7a6bc.zip |
Add version to thor frozen gem.
Diffstat (limited to 'railties/lib/generators.rb')
-rw-r--r-- | railties/lib/generators.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators.rb b/railties/lib/generators.rb index ed2ce43ba2..ddb65c8579 100644 --- a/railties/lib/generators.rb +++ b/railties/lib/generators.rb @@ -178,7 +178,7 @@ module Rails # Return all defined namespaces. # def self.namespaces - Thor::Base.subclasses.map(&:namespace) + Thor::Base.subclasses.map{ |klass| klass.namespace } end # Keep builtin generators in an Array[Array[group, name]]. |