Class: Iptables
- Inherits:
-
Object
- Object
- Iptables
- Defined in:
- lib/iptables.rb
Overview
This class encodes and decodes iptables style -save and -restore formats
Defined Under Namespace
Classes: Decoder, IptablesException, NoTable, UnparseableLine, UnparseableSplit
Constant Summary collapse
- VERSION =
'1.0.0'
Class Method Summary collapse
-
.decode(text, opts = {}) ⇒ Hash
Takes the output for iptables-save returning a hash.