Build Status

MethodCallTree

MethodCallTree is like tree command for method call stack.

Installation

gem 'method_call_tree'

Usage

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

License

The gem is available as open source under the terms of the MIT License.

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.