Sha256: 19562fc493bf19a4354a00735d6a134f1974f4718a651fa50d1f1337368de05a
Contents?: true
Size: 679 Bytes
Versions: 1
Compression:
Stored size: 679 Bytes
Contents
# Constree Recursively show the structure of constants in a module ## Installation Add this line to your application's Gemfile: ```ruby gem 'constree' ``` And then execute: $ bundle Or install it yourself as: $ gem install constree ## Example: constants in Minitest::Spec ```ruby 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) DSL (Module) TYPES (Array) InstanceMethods (Module) TYPES Minitest::Spec::DSL::TYPES PASSTHROUGH_EXCEPTIONS (Array) TEARDOWN_METHODS (Array) LifecycleHooks (Module) UNDEFINED (Object) E (String) SIGNALS (Hash) => nil ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
constree-0.1.0 | README.md |