Module: Falcon::Command::Paths
Instance Method Summary collapse
Instance Method Details
#configuration ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/falcon/command/paths.rb', line 32 def configuration configuration = Configuration.new self.resolved_paths.each do |path| path = File.(path) configuration.load_file(path) end return configuration end |
#resolved_paths(&block) ⇒ Object
26 27 28 29 30 |
# File 'lib/falcon/command/paths.rb', line 26 def resolved_paths(&block) @paths.collect do |path| Dir.glob(path) end.flatten.sort.uniq.each(&block) end |