Sha256: 121ff6468ddf708dc672c197a941b7e944e8967427ff2875813717451b4b1cf7

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

module JunosConfig
  module Security
    class Zone
      attr_accessor :raw,
                    :config,
                    :name
      
      def initialize(config, raw)
        @config = config
        @raw    = raw
        @name   = raw.match(/^\ {8}security\-zone\ (\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/zone.rb