Exception: MachO::LoadCommandCreationArityError
- Inherits:
-
MachOError
- Object
- RuntimeError
- MachOError
- MachO::LoadCommandCreationArityError
- Defined in:
- lib/macho/exceptions.rb
Overview
Raised when the number of arguments used to create a load command manually is wrong.
Instance Method Summary collapse
-
#initialize(cmd_sym, expected_arity, actual_arity) ⇒ LoadCommandCreationArityError
constructor
A new instance of LoadCommandCreationArityError.
Constructor Details
#initialize(cmd_sym, expected_arity, actual_arity) ⇒ LoadCommandCreationArityError
Returns a new instance of LoadCommandCreationArityError.
143 144 145 146 |
# File 'lib/macho/exceptions.rb', line 143 def initialize(cmd_sym, expected_arity, actual_arity) super "Expected #{expected_arity} arguments for #{cmd_sym} creation, " \ "got #{actual_arity}" end |