Class: AppMap::ClassMap
- Inherits:
-
Object
- Object
- AppMap::ClassMap
- Defined in:
- lib/appmap/class_map.rb
Defined Under Namespace
Modules: HasChildren, Types
Class Method Summary collapse
Class Method Details
.build_from_methods(methods) ⇒ Object
74 75 76 77 78 79 80 |
# File 'lib/appmap/class_map.rb', line 74 def build_from_methods(methods) root = Types::Root.new methods.each do |method| add_function root, method end root.children.map(&:to_h) end |