Class: CiscoAclIntp::AceUnaryOpBase
- Inherits:
-
AcePortOperatorBase
- Object
- AccessControlContainer
- AceSpecBase
- AcePortOperatorBase
- CiscoAclIntp::AceUnaryOpBase
- Defined in:
- lib/cisco_acl_intp/acespec_port_opr_base.rb
Overview
Unary operator base class
Direct Known Subclasses
AcePortOpAny, AcePortOpEq, AcePortOpGt, AcePortOpLt, AcePortOpNeq
Constant Summary
Constants inherited from AccessControlContainer
CiscoAclIntp::AccessControlContainer::TERM_COLOR_TABLE
Instance Attribute Summary
Attributes inherited from AcePortOperatorBase
#begin_port, #end_port, #operator
Instance Method Summary collapse
-
#initialize(*args) ⇒ AceUnaryOpBase
constructor
Constructor.
Methods inherited from AcePortOperatorBase
#==, #check_any_operator, #contains?, #contains_any?, #contains_eq?, #contains_gt?, #contains_lt?, #contains_neq?, #contains_range?, #contains_strict_any?, #to_s
Methods inherited from AccessControlContainer
#clean_acl_string, disable_color, #generate_tag_footer, #generate_tag_header, #generate_tagged_str, #method_missing, #to_s
Constructor Details
#initialize(*args) ⇒ AceUnaryOpBase
Constructor
139 140 141 142 143 144 145 |
# File 'lib/cisco_acl_intp/acespec_port_opr_base.rb', line 139 def initialize(*args) super if @begin_port.nil? raise AclArgumentError, 'Port did not specified in unary operator' end @end_port = nil end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class CiscoAclIntp::AccessControlContainer