Sha256: 9f88d44fb276cf98217a1361c4244f9284c50b346473f33548e8d7344963a357
Contents?: true
Size: 461 Bytes
Versions: 1
Compression:
Stored size: 461 Bytes
Contents
module JunosConfig module Security class Policy attr_accessor :raw, :config, :name, :from_zone, :to_zone def initialize(config, raw, from_zone, to_zone) @config = config @raw = raw @from_zone = from_zone @to_zone = to_zone @name = raw.match(/^\ {12}policy (\S+)\ \{$/)[1] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
junos-config-0.2.0 | lib/junos-config/security/policy.rb |