Exception: Elf::Utilities::OffsetTable::InvalidIndex
- Inherits:
-
Exception
- Object
- Exception
- Elf::Utilities::OffsetTable::InvalidIndex
- Defined in:
- lib/elf/utils/offsettable.rb
Instance Method Summary collapse
-
#initialize(idx, max_idx) ⇒ InvalidIndex
constructor
A new instance of InvalidIndex.
Constructor Details
#initialize(idx, max_idx) ⇒ InvalidIndex
Returns a new instance of InvalidIndex.
24 25 26 |
# File 'lib/elf/utils/offsettable.rb', line 24 def initialize(idx, max_idx) super("Invalid index #{idx} (maximum index: #{max_idx})") end |