Class: Elf::OsAbi

Inherits:
Value
  • Object
show all
Defined in:
lib/elf.rb

Instance Attribute Summary

Attributes inherited from Value

#desc, #mnemonic, #val

Instance Method Summary collapse

Methods inherited from Value

#==, [], each, from_string, has_key?, #initialize

Constructor Details

This class inherits a constructor from Elf::Value

Instance Method Details

#linux_compatible?Boolean

Returns:

  • (Boolean)


87
88
89
# File 'lib/elf.rb', line 87

def linux_compatible?;
  [Elf::OsAbi::SysV, Elf::OsAbi::Linux].include?(self)
end