Method: Rupert::RPM::Lead#arch

Defined in:
lib/rupert/rpm/lead.rb

#archString

The architecture the package was built for. A list of supported architectures can be found in /usr/lib/rpm/rpmrc on RedHat based systems.

Returns:

  • (String)

    a string representing the architecture name(s)



97
98
99
# File 'lib/rupert/rpm/lead.rb', line 97

def arch
  @@arch_map[@archnum]
end