Sha256: d9f6b2a2792fc5811ec2370e1ff51868b092337eb33dc191d79c6f7e45ecaecc
Contents?: true
Size: 832 Bytes
Versions: 8
Compression:
Stored size: 832 Bytes
Contents
module LicenseAcceptance class Product attr_reader :id, :pretty_name, :filename, :mixlib_name, :license_required_version def initialize(id, pretty_name, filename, mixlib_name, license_required_version) # id is the internal representation of this product as license-acceptance knows it @id = id @pretty_name = pretty_name @filename = filename @mixlib_name = mixlib_name @license_required_version = license_required_version end def ==(other) return false if other.class != Product if other.id == id && other.pretty_name == pretty_name && other.filename == filename && other.mixlib_name == mixlib_name other.license_required_version == license_required_version return true end return false end end end
Version data entries
8 entries across 8 versions & 1 rubygems