Sha256: 7953ba5c3bb6046d79c884420192e229211c6046ad6b4dfc5c3b920bd8aa279e
Contents?: true
Size: 455 Bytes
Versions: 93
Compression:
Stored size: 455 Bytes
Contents
module Katello module Pulp class SimplePackage # {"epoch", "name", "arch", "version", "vendor", "release"} attr_accessor :vendor, :arch, :epoch, :version, :release, :name def initialize(params = {}) params.each_pair { |k, v| instance_variable_set("@#{k}", v) unless v.nil? } end def nvra nvrea end def nvrea "#{@name}-#{@version}-#{@release}.#{@arch}" end end end end
Version data entries
93 entries across 93 versions & 1 rubygems