organize_photos.rb
# all output dirs as pathnames
# todo: uniq of realpath
all output dirs as pathnames
todo: uniq of realpath
all output dirs as pathnames todo : uniq of realpath
def output_dirs
  if @cache_output.nil?
    @cache_output = source_data[1].map { |d| Pathname.new(d).children.select(&:directory?) }.flatten.uniq
  end
  @cache_output
end
def output_dirs if @cache_output . nil? @cache_output = source_data [ 1 ] . map { | d | Pathname . new ( d ) . children . select ( & :directory? ) } . flatten . uniq end @cache_output end
all output dirs as pathnames
todo: uniq of realpath
all output dirs as pathnames todo : uniq of realpath