lib/buildmaster/java_manifest.rb in BuildMaster-0.7.0 vs lib/buildmaster/java_manifest.rb in BuildMaster-0.8.0
- old
+ new
@@ -2,9 +2,13 @@
class JavaManifest
def initialize(manifest_file)
@manifest_file = manifest_file
end
+ def JavaManifest::from_file(manifest_file)
+ return JavaManifest.new(manifest_file)
+ end
+
def version
number = nil
build = nil
IO.foreach(@manifest_file) do |line|
name_value = NameValue.parse(line)
\ No newline at end of file