class Rails::Paths::Path
def paths
def paths raise "You need to set a path root" unless @root.path result = @paths.map do |p| path = File.expand_path(p, @root.path) @glob ? Dir[File.join(path, @glob)] : path end result.flatten! result.uniq! result end