Class: CiscoAclIntp::AceTcpUdpProtoSpec
- Inherits:
-
AceProtoSpecBase
- Object
- AccessControlContainer
- AceSpecBase
- AceProtoSpecBase
- CiscoAclIntp::AceTcpUdpProtoSpec
- Defined in:
- lib/cisco_acl_intp/acespec_proto.rb
Overview
TCP/UDP port range validation feature
Direct Known Subclasses
Constant Summary
Constants inherited from AceProtoSpecBase
CiscoAclIntp::AceProtoSpecBase::DUMMY_PROTO_TABLE
Constants inherited from AccessControlContainer
CiscoAclIntp::AccessControlContainer::TERM_COLOR_TABLE
Instance Attribute Summary
Attributes inherited from AceProtoSpecBase
#max_num, #name, #number, #protocol
Instance Method Summary collapse
-
#initialize(proto_id = nil) ⇒ AceTcpProtoSpec
constructor
Constructor.
Methods inherited from AceProtoSpecBase
#<=>, #==, #define_param_by_integer, #define_param_by_string, #max?, #min?, #name_to_number, #number_to_name, #proto_table, #to_i, #to_s, #valid_name?, #valid_range?
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(proto_id = nil) ⇒ AceTcpProtoSpec
Constructor
84 85 86 87 |
# File 'lib/cisco_acl_intp/acespec_proto.rb', line 84 def initialize(proto_id = nil) super(proto_id, 65_535) @protocol = :tcp_udp end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class CiscoAclIntp::AccessControlContainer