Sha256: 6d64b13e27aa359b09b6feea7e58e3a85114aa20b2aba2ef0fc4fc0ab760a025
Contents?: true
Size: 827 Bytes
Versions: 1
Compression:
Stored size: 827 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 false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
license-acceptance-1.0.19 | lib/license_acceptance/product.rb |