module FirewallConstraint

Constants

VERSION

Public Class Methods

config() { |c| ... } click to toggle source
# File lib/firewall_constraint.rb, line 57
def self.config
  if block_given?
    c = Constraint.config || Config.new
    yield c
    Constraint.config = c
  else
    Constraint.config
  end
end
new(*args) click to toggle source
# File lib/firewall_constraint.rb, line 53
def self.new(*args)
  Constraint.new(*args)
end