Class: ElfUtils::Section::DebugInfo::Header

Inherits:
CTypes::Union
  • Object
show all
Extended by:
Forwardable
Includes:
CTypes::Helpers
Defined in:
lib/elf_utils/section/debug_info/header.rb

Instance Method Summary collapse

Instance Method Details

#innerObject



20
21
22
23
24
# File 'lib/elf_utils/section/debug_info/header.rb', line 20

def inner
  # PERF: we're caching this here because the Union type will do a bunch of
  # extra work if we keep accessing the union via different members.
  @inner ||= send(:"#{format}_v#{version}").freeze
end