public Method

Module.local_constant_names

Returns the names of the constants defined locally rather than the constants themselves. See local_constants.

Source Code

# File active_support/core_ext/module/introspection.rb, line 47
def local_constant_names
  local_constants.map(&:to_s)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.