Your IP : 3.145.179.30
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns an array of the names of all constants defined in the system. This list includes the names of all modules and classes.
- !ruby/struct:SM::Flow::VERB
body: " p Module.constants.sort[1..5]\n"
- !ruby/struct:SM::Flow::P
body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB
body: " ["ARGV", "ArgumentError", "Array", "Bignum", "Binding"]\n"
full_name: Module::constants
is_singleton: true
name: constants
params: |
Module.constants => array
visibility: public