module Construqt::Firewalls::InputOutputOnly

Public Instance Methods

input_only() click to toggle source
# File lib/construqt/firewalls.rb, line 47
def input_only
  @set = true
  @input_only = true
  @output_only = false
  self
end
input_only?() click to toggle source

the big side effect

# File lib/construqt/firewalls.rb, line 39
def input_only?
  (!@set && true) || @input_only
end
output_only() click to toggle source
# File lib/construqt/firewalls.rb, line 54
def output_only
  @set = true
  @input_only = false
  @output_only = true
  self
end
output_only?() click to toggle source
# File lib/construqt/firewalls.rb, line 43
def output_only?
  (!@set && true) || @output_only
end