mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
16 lines
367 B
Ruby
16 lines
367 B
Ruby
# -*- coding: binary -*-
|
|
# A Convenience to load all field classes and yaml handling.
|
|
# XXX: Pretty certian this monkeypatch isn't required in Metasploit.
|
|
|
|
if "a"[0].kind_of? Fixnum
|
|
unless Fixnum.methods.include? :ord
|
|
class Fixnum
|
|
def ord; self; end
|
|
end
|
|
end
|
|
end
|
|
|
|
require 'bit-struct/bit-struct'
|
|
require 'bit-struct/fields'
|
|
require 'bit-struct/yaml'
|