Class: IPAccess::Set::GlobalClass
Overview
This is global access set, used by default by all socket handling classes with enabled IP access control. It has just one instance called IPAccess::Set.Global. It is present only when patching engine is loaded.
Constant Summary
Global
Instance Attribute Summary
#input, #name, #output
Instance Method Summary
collapse
#bidirectional=, #bidirectional?, #clear!, #empty?, #initialize, #show
Constructor Details
This class inherits a constructor from IPAccess::Set
Instance Method Details
#==(obj) ⇒ Object
46
47
48
49
|
# File 'lib/ipaccess/patches/generic.rb', line 46
def ==(obj)
return true if obj.object_id == IPAccess::Set::GlobalSet.instance.object_id
super(obj)
end
|
#===(obj) ⇒ Object
51
52
53
54
|
# File 'lib/ipaccess/patches/generic.rb', line 51
def ===(obj)
return true if obj.object_id == IPAccess::Set::GlobalSet.instance.object_id
super(obj)
end
|
#global? ⇒ Boolean
44
|
# File 'lib/ipaccess/patches/generic.rb', line 44
def global?; true end
|
#to_s ⇒ Object
56
57
58
|
# File 'lib/ipaccess/patches/generic.rb', line 56
def to_s
"#<IPAccess::Set:Global>"
end
|