class Pliney::AppleCodeSignature::Blob::Magic

Attributes

value[RW]

Public Class Methods

new(num) click to toggle source
# File lib/pliney/apple_code_signature.rb, line 8
def initialize(num)
    @value = (Magic === num)? num.value : num
end

Public Instance Methods

inspect() click to toggle source
# File lib/pliney/apple_code_signature.rb, line 12
def inspect
    "0x%x" % value
end