lib/maven_pom.rb in maven_pom-0.0.1 vs lib/maven_pom.rb in maven_pom-0.0.2
- old
+ new
@@ -4,9 +4,13 @@
require "maven_pom/error"
require "maven_pom/pom"
require "maven_pom/sorter"
module MavenPom
+ def self.all
+ @loaded ||= {}
+ end
+
def self.from(path)
Pom.new File.read(path), path
end
def self.sort(poms)