Constree
Recursively show the structure of constants in a module
Installation
Add this line to your application's Gemfile:
gem 'constree'
And then execute:
$ bundle
Or install it yourself as:
$ gem install constree
Example: constants in Minitest::Spec
2.2.2 :001 > require 'constree/module'
=> true
2.2.2 :002 > require 'minitest/spec'
=> true
2.2.2 :003 > Minitest::Spec.constreep
Minitest::Spec (Class)