Sha256: 006a7a525a2d9655d6d649802ceebee8ef72899f56898d4f8d36585de90b7269
Contents?: true
Size: 395 Bytes
Versions: 33
Compression:
Stored size: 395 Bytes
Contents
module Ddr::Structures # # Wraps a Nokogiri (XML) 'fileSec' node # class FileSec < SimpleDelegator def id self['ID'] end def filegrps xpath('xmlns:fileGrp').map { |node| FileGrp.new(node) } end def self.build(args) node = Nokogiri::XML::Node.new('fileSec', args[:document]) node['ID'] = args[:id] if args[:id] node end end end
Version data entries
33 entries across 33 versions & 1 rubygems