Sha256: 33cb0bd48d7a34168d128bd9bc4157e2f38776277ec9ce479aa9f99719631393

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

require 'net/netconf'
require 'sloe/common'

module Sloe
  class Device < Sloe::Common

    def initialize(args, &block)

      # Stop netconf gem from defaulting to :Junos and thus 
      # not loading :Junos extensions
      args[:os_type] = :Netconf
      super( args, &block )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sloe-0.5.4 lib/sloe/device.rb
sloe-0.5.3 lib/sloe/device.rb