Sha256: eb8854647e8a8dfc75772b670d31b75f879d58bcdec902f0380eba81328d1963
Contents?: true
Size: 270 Bytes
Versions: 2
Compression:
Stored size: 270 Bytes
Contents
require "arr-pm/namespace" module ArrPM::V2::Type BINARY = 0 SOURCE = 1 module_function # Is a given rpm type value valid? # # The only valid types are BINARY (0) or SOURCE (1) def valid?(value) return (value == BINARY || value == SOURCE) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arr-pm-0.0.12 | lib/arr-pm/v2/type.rb |
arr-pm-0.0.11 | lib/arr-pm/v2/type.rb |