lib/activefacts/loadable.rb in activefacts-compositions-1.9.8 vs lib/activefacts/loadable.rb in activefacts-compositions-1.9.9
- old
+ new
@@ -12,12 +12,12 @@
flat_map do |dir|
dir_path = (dir+"/"+@path).gsub(%r{//+}, '/')
pattern = dir_path+"/**/*"+@extension
Dir[pattern].
map do |p|
- p.
- sub(%r{#{Regexp.escape(dir_path)}/}, '').
- sub(%r{#{@extension}}, '')
+ p.
+ sub(%r{#{Regexp.escape(dir_path)}/}, '').
+ sub(%r{#{@extension}}, '')
end
end
end
end