Module: ArrPM::V2::Architecture
- Defined in:
- lib/arr-pm/v2/architecture.rb
Constant Summary collapse
- NOARCH =
0
- I386 =
1
- ALPHA =
2
- SPARC =
3
- MIPS =
4
- PPC =
5
- M68K =
6
- IP =
7
- RS6000 =
8
- IA64 =
9
- SPARC64 =
10
- MIPSEL =
11
- ARM =
12
- MK68KMINT =
13
- S390 =
14
- S390X =
15
- PPC64 =
16
- SH =
17
- XTENSA =
18
- X86_64 =
19
Class Method Summary collapse
-
.valid?(value) ⇒ Boolean
Is a given rpm architecture value valid?.
Class Method Details
.valid?(value) ⇒ Boolean
Is a given rpm architecture value valid?
29 30 31 |
# File 'lib/arr-pm/v2/architecture.rb', line 29 def valid?(value) return value >= 0 && value <= 19 end |