Class: Struct

Inherits:
Object
  • Object
show all
Defined in:
lib/packetfu/structfu.rb

Instance Method Summary collapse

Instance Method Details

#force_binary(str) ⇒ Object

Monkeypatch for Struct to include some string safety – anything that uses Struct is going to presume binary strings anyway.


289
290
291
# File 'lib/packetfu/structfu.rb', line 289

def force_binary(str)
  PacketFu.force_binary(str)
end