Sha256: e3c41e86cf64df36611411d7893487cc205ceb6d1b8e1c9ed626a15e19704960
Contents?: true
Size: 213 Bytes
Versions: 1
Compression:
Stored size: 213 Bytes
Contents
module JunosConfig class Interface attr_accessor :config, :name def initialize(config) @config = config @name = config.match(/^\ {4}(\S+)\ \{$/)[1] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
junos-config-0.1.0 | lib/junos-config/interface.rb |