Method: Uttk::Logger::SectionNode#set_active_section
- Defined in:
- lib/uttk/logger/section_node.rb
#set_active_section(active, *section_names) ⇒ Object
137 138 139 140 141 142 143 144 |
# File 'lib/uttk/logger/section_node.rb', line 137 def set_active_section(active, *section_names) section = [] section_names.each do |s| section.concat(active ? active_section(s) : unactive_section(s)) end section.uniq! section end |