exegesis 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/exegesis/file_searcher.rb +3 -5
- data/lib/exegesis/version.rb +1 -1
- metadata +1 -1
@@ -29,21 +29,19 @@ module Exegesis
|
|
29
29
|
def directories
|
30
30
|
content.
|
31
31
|
select { |s| fs_interface.directory?(s) }.
|
32
|
-
map { |s| Directory.create(parent, fs_interface.basename(s)
|
32
|
+
map { |s| Directory.create(parent, fs_interface.basename(s)) }
|
33
33
|
end
|
34
34
|
|
35
35
|
#All of the files in the given path
|
36
36
|
def files
|
37
37
|
content.
|
38
38
|
select { |s| fs_interface.file?(s) }.
|
39
|
-
map { |s| SourceFile.create(parent, fs_interface.basename(s)
|
39
|
+
map { |s| SourceFile.create(parent, fs_interface.basename(s)) }
|
40
40
|
end
|
41
41
|
|
42
42
|
#All of the content from the given path
|
43
43
|
def content
|
44
|
-
|
45
|
-
#proxies up to the parent, which is always a [Directory]
|
46
|
-
Dir[fs_interface.join(parent.path, '*')]
|
44
|
+
Dir[File.join(parent.path, '*')]
|
47
45
|
end
|
48
46
|
|
49
47
|
def inspect
|
data/lib/exegesis/version.rb
CHANGED