Class: Y2Packager::LicensesHandlers::Base

Inherits:
Object
  • Object
show all
Includes:
Yast::Logger
Defined in:
library/packages/src/lib/y2packager/licenses_handlers/base.rb

Overview

Base class for licenses handlers

Direct Known Subclasses

Libzypp, Rpm, Tarball

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(product_name) ⇒ Base

Constructor

Parameters:

  • product_name (String)

    Product name to handle license status


27
28
29
# File 'library/packages/src/lib/y2packager/licenses_handlers/base.rb', line 27

def initialize(product_name)
  @product_name = product_name
end

Instance Attribute Details

#product_nameString (readonly)

Returns Product name to handle license status.

Returns:

  • (String)

    Product name to handle license status


22
23
24
# File 'library/packages/src/lib/y2packager/licenses_handlers/base.rb', line 22

def product_name
  @product_name
end