Module: Figtree::IPv6
Overview
Must be used in concert with IPv4
Instance Method Summary collapse
-
#h16l(times) ⇒ Object
: h16.
-
#h16r(times) ⇒ Object
h16 :.
Instance Method Details
#h16l(times) ⇒ Object
: h16
16 17 18 |
# File 'lib/figtree/ip_rules.rb', line 16 def h16l(times) (colon >> h16).repeat(0,times) end |
#h16r(times) ⇒ Object
h16 :
11 12 13 |
# File 'lib/figtree/ip_rules.rb', line 11 def h16r(times) (h16 >> colon).repeat(times, times) end |