Sha256: b25987b1ed2b5626147056ced350dcf5312e9164f9c96d9745c25568b1202778
Contents?: true
Size: 444 Bytes
Versions: 3
Compression:
Stored size: 444 Bytes
Contents
require 'nokogiri' class Andrake::Manifest autoload :Version, 'andrake/manifest/version' ManifestFile = 'AndroidManifest.xml' class << self def manifest_file ; ManifestFile ; end def load ; new File.read(manifest_file) ; end end def initialize(xml) @document = ::Nokogiri::XML(xml) end def save File.open(self.class.manifest_file, 'w') do |f| @document.write_xml_to f end end include Version end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
andrake-1.1.1 | lib/andrake/manifest.rb |
andrake-1.1.0 | lib/andrake/manifest.rb |
andrake-1.0.0 | lib/andrake/manifest.rb |