Class: TermUtils::FF::Config
- Inherits:
-
Object
- Object
- TermUtils::FF::Config
- Defined in:
- lib/term_utils/ff/config.rb
Overview
Represents a query configuration.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #initialize_copy(other) ⇒ Object
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config
31 32 33 34 35 36 |
# File 'lib/term_utils/ff/config.rb', line 31 def initialize @ignore_list = [] @min_depth = nil @max_depth = nil @sorted = false end |
Instance Attribute Details
#ignore_list ⇒ Array<Regexp>
24 25 26 |
# File 'lib/term_utils/ff/config.rb', line 24 def ignore_list @ignore_list end |
#max_depth ⇒ Integer
28 29 30 |
# File 'lib/term_utils/ff/config.rb', line 28 def max_depth @max_depth end |
#min_depth ⇒ Integer
26 27 28 |
# File 'lib/term_utils/ff/config.rb', line 26 def min_depth @min_depth end |
#sorted ⇒ Boolean
30 31 32 |
# File 'lib/term_utils/ff/config.rb', line 30 def sorted @sorted end |
Instance Method Details
#initialize_copy(other) ⇒ Object
37 38 39 40 |
# File 'lib/term_utils/ff/config.rb', line 37 def initialize_copy(other) @ignore_list = other.ignore_list.dup super end |