Module: Falcon::Command::Paths
Instance Method Summary collapse
Instance Method Details
#configuration ⇒ Object
34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/falcon/command/paths.rb', line 34 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
28 29 30 31 32 |
# File 'lib/falcon/command/paths.rb', line 28 def resolved_paths(&block) @paths.collect do |path| Dir.glob(path) end.flatten.sort.uniq.each(&block) end |