Module: MyStuff::Logger::ReaderFilters
- Defined in:
- lib/my_stuff/logger/reader_filters/priority_colors.rb,
lib/my_stuff/logger/reader_filters.rb,
lib/my_stuff/logger/reader_filters/multidb_unmangle.rb,
lib/my_stuff/logger/reader_filters/tail_follow_highlight.rb
Overview
Copyright 2011-present Fred Emmott. See COPYING file.
Defined Under Namespace
Classes: MultiDBUnmangle, PriorityColors, TailFollowHighlight
Constant Summary collapse
- SYMBOL_MAP =
{ :PriorityColors => 'priority_colors', :TailFollowHighlight => 'tail_follow_highlight', :MultiDBUnmangle => 'multidb_unmangle', }
Class Method Summary collapse
Class Method Details
.get(filter) ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/my_stuff/logger/reader_filters.rb', line 17 def self.get filter case filter when Symbol self.get MyStuff::Logger::ReaderFilters.const_get(filter) when Class filter.to_proc end end |