Class: ElfUtils::Types::Dwarf::AbbreviationDeclaration Private
- Inherits:
-
CTypes::Struct
- Object
- CTypes::Struct
- ElfUtils::Types::Dwarf::AbbreviationDeclaration
- Defined in:
- lib/elf_utils/types/dwarf.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #children? ⇒ Boolean private
- #inspect ⇒ Object private
Instance Method Details
#children? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
424 425 426 |
# File 'lib/elf_utils/types/dwarf.rb', line 424 def children? @children == 1 end |
#inspect ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
413 414 415 416 417 418 419 420 421 422 |
# File 'lib/elf_utils/types/dwarf.rb', line 413 def inspect buf = "<%s\n [%d] DW_TAG_%s\tDW_CHILDREN_%s\n" % [self.class.name, code, tag, (children == 0) ? "no" : "yes"] attribute_specifications.each do |spec| buf << " %-15s DW_FORM_%s\n" % ["DW_AT_#{spec.name}", spec.form] end buf.chomp! << ">" end |