2012-06-29 05:18:28 +00:00
|
|
|
# -*- coding: binary -*-
|
2011-12-06 23:03:36 +00:00
|
|
|
# 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'
|