Sha256: 8feec9d23405313917b97c273475609a8345aaf387313f56ff263378eeedd5b7
Contents?: true
Size: 985 Bytes
Versions: 2
Compression:
Stored size: 985 Bytes
Contents
[![Build Status](https://travis-ci.org/siman-man/method_call_tree.svg?branch=master)](https://travis-ci.org/siman-man/method_call_tree) # MethodCallTree MethodCallTree is like tree command for method call stack. ## Installation ```ruby gem 'method_call_tree' ``` ## Usage ```ruby require 'method_call_tree' class Foo def foo bar baz end def bar end def baz hoge end def hoge end end tree = MethodCallTree.create do Foo.new.foo end puts tree ``` result ``` Foo::foo ├───── Foo::bar └───── Foo::baz └───── Foo::hoge ``` ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). ## Code of Conduct Everyone interacting in the MethodCallTree project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/siman-man/method_call_tree/blob/master/CODE_OF_CONDUCT.md).
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
method_call_tree-1.0.1 | README.md |
method_call_tree-1.0.0 | README.md |