Sha256: c99768c76513b9a803ac6eb244676d029a9db69f5b37ff94574f3dc6131fd0f2
Contents?: true
Size: 1.27 KB
Versions: 4
Compression:
Stored size: 1.27 KB
Contents
# frozen-string-literal: true # # Copyright (C) 2019 Thomas Baron # # This file is part of term_utils. # # term_utils is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3 of the License. # # term_utils is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with term_utils. If not, see <https://www.gnu.org/licenses/>. module TermUtils # The ff module provides a way to find files. module FF # Represents a query configuration. class Config # @return [Array<Regexp>] attr_accessor :ignore_list # @return [Integer] attr_accessor :min_depth # @return [Integer] attr_accessor :max_depth # @return [Boolean] attr_accessor :sorted def initialize @ignore_list = [] @min_depth = nil @max_depth = nil @sorted = false end def initialize_copy(other) @ignore_list = other.ignore_list.dup super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
term_utils-0.3.2 | lib/term_utils/ff/config.rb |
term_utils-0.3.1 | lib/term_utils/ff/config.rb |
term_utils-0.3.0 | lib/term_utils/ff/config.rb |
term_utils-0.2.0 | lib/term_utils/ff/config.rb |