Method: Uttk::Logger::SectionNode#active_section

Defined in:
lib/uttk/logger/section_node.rb

#active_section(section_name) ⇒ Object

Active the given section name in the tree. Return an array of all the section name that have been activated. The returned array is empty if the section name doesn’t exists in the tree.



81
82
83
84
85
# File 'lib/uttk/logger/section_node.rb', line 81

def active_section(section_name)
  accu = []
  active_section_rec(section_name, accu)
  accu
end