class Construqt::Vlans::Vlan

Public Class Methods

new(cfg) click to toggle source
Calls superclass method
# File lib/construqt/vlans.rb, line 11
def initialize(cfg)
  super(cfg)
end

Public Instance Methods

nountagged() click to toggle source
# File lib/construqt/vlans.rb, line 39
def nountagged
  @nountagged=true
  self
end
nountagged?() click to toggle source
# File lib/construqt/vlans.rb, line 35
def nountagged?
  @nountagged
end
tagged() click to toggle source
# File lib/construqt/vlans.rb, line 19
def tagged
  @tagged=true
  @nountagged=false
  self
end
tagged?() click to toggle source
# File lib/construqt/vlans.rb, line 15
def tagged?
  !@nountagged && @tagged
end
untagged() click to toggle source
# File lib/construqt/vlans.rb, line 29
def untagged
  @tagged = false
  @nountagged=false
  self
end
untagged?() click to toggle source
# File lib/construqt/vlans.rb, line 25
def untagged?
  !@nountagged && !@tagged
end