1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove note about removed local_constant_names method from guides [ci skip]

This commit is contained in:
Carlos Antonio da Silva 2013-12-02 21:42:48 -02:00
parent 5fdb594f7b
commit b42d4c407d

View file

@ -735,7 +735,7 @@ X.local_constants # => [:X1, :X2, :Y]
X::Y.local_constants # => [:Y1, :X1]
```
The names are returned as symbols. (The deprecated method `local_constant_names` returns strings.)
The names are returned as symbols.
NOTE: Defined in `active_support/core_ext/module/introspection.rb`.