class Appx::Manifest
Attributes
xml[R]
Public Class Methods
new(data)
click to toggle source
# File lib/appx/manifest.rb, line 7 def initialize(data) @xml = Nokogiri::XML(data) end
Public Instance Methods
display_name()
click to toggle source
# File lib/appx/manifest.rb, line 11 def display_name @xml.at_css('DisplayName').content end
identity_name()
click to toggle source
# File lib/appx/manifest.rb, line 15 def identity_name @xml.at_css('Identity').attributes['Name'].content end
publisher_display_name()
click to toggle source
# File lib/appx/manifest.rb, line 19 def publisher_display_name @xml.at_css('PublisherDisplayName').content end
version()
click to toggle source
# File lib/appx/manifest.rb, line 23 def version @xml.at_css('Identity').attributes['Version'].content end