iosparse 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +5 -4
- data/iosparse.gemspec +1 -1
- data/lib/iosparse.rb +1 -5
- metadata +1 -1
data/README.md
CHANGED
@@ -22,7 +22,8 @@ All objects returned are arrays that can be further manipulated and parsed. "Hu
|
|
22
22
|
All '\n' are injected as delimiters to show where children lines separate from the parent and inteded to be used for easy String#gsub to parse and print in other formats. Feel free to look at the documentation link on the <a href="http://rubygems.org/gems/iosparse">rubygems</a> site.
|
23
23
|
|
24
24
|
Current methods:
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
25
|
+
````
|
26
|
+
find_all() is used to find all specific rules, interface, object-group, route, name, etc.
|
27
|
+
has() is used to find any rule that includes a specific string like an IP or a group name.
|
28
|
+
group_has_ip() returns group(s) that include a specific IP (doesn't sanitize input).
|
29
|
+
````
|
data/iosparse.gemspec
CHANGED
data/lib/iosparse.rb
CHANGED