Class: RailsIdle::TreeBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/rails-idle/tree_builder.rb

Instance Method Summary collapse

Constructor Details

#initialize(collector) ⇒ TreeBuilder

Returns a new instance of TreeBuilder.



3
4
5
# File 'lib/rails-idle/tree_builder.rb', line 3

def initialize(collector)
  @storage = collector.storage
end

Instance Method Details

#treeObject



7
8
9
# File 'lib/rails-idle/tree_builder.rb', line 7

def tree
  @tree ||= build_tree
end