Method: Cisco::RouteMap#match_length=
- Defined in:
- lib/cisco_node_utils/route_map.rb
#match_length=(array) ⇒ Object
1175 1176 1177 1178 1179 1180 1181 1182 |
# File 'lib/cisco_node_utils/route_map.rb', line 1175 def match_length=(array) if array.empty? set_args_keys(state: 'no', min: '', max: '') else set_args_keys(state: '', min: array[0], max: array[1]) end config_set('route_map', 'match_length', @set_args) end |