class Central::Devtools::Flay::FileList
Expand include and exclude file settings for flay
Public Instance Methods
call()
click to toggle source
Expand includes and filter by excludes
@return [Set<Pathname>] @api private
# File lib/central/devtools/flay.rb, line 53 def call include_set - exclude_set end
Private Instance Methods
exclude_set()
click to toggle source
Set of excluded files
@return [Set<Pathname>] @api private
# File lib/central/devtools/flay.rb, line 63 def exclude_set excludes.flat_map(&Pathname.method(:glob)) end
flay_includes()
click to toggle source
Expand includes using flay
Expanded using flay's file expander which takes into account flay's plugin support
@return [Array<String>] @api private
# File lib/central/devtools/flay.rb, line 85 def flay_includes ::Flay.expand_dirs_to_files(includes) end
include_set()
click to toggle source
Set of included files
Expanded using flay's file expander which takes into account flay's plugin support
@return [Set<Pathname>] @api private
# File lib/central/devtools/flay.rb, line 74 def include_set Set.new(flay_includes.map(&method(:Pathname))) end