class MachO::LoadCommandCreationArityError
Raised when the number of arguments used to create a load command manually is wrong.
Public Class Methods
new(cmd_sym, expected_arity, actual_arity)
click to toggle source
@param cmd_sym [Symbol] the load command's symbol @param expected_arity [Fixnum] the number of arguments expected @param actual_arity [Fixnum] the number of arguments received
Calls superclass method
# File lib/macho/exceptions.rb, line 118 def initialize(cmd_sym, expected_arity, actual_arity) super "Expected #{expected_arity} arguments for #{cmd_sym} creation," \ " got #{actual_arity}" end