class MachO::MagicError

Raised when a file’s magic bytes are not valid Mach-O magic.

Public Class Methods

new(magic) click to toggle source

@param num [Integer] the unknown number

Calls superclass method
# File lib/macho/exceptions.rb, line 47
def initialize(magic)
  super "Unrecognized Mach-O magic: 0x%02<magic>x" % { :magic => magic }
end