def respond_to?(method_sym, _include_private=false)
      name = method_sym.to_s
      key = :getter?
      if name =~ /^(.*)=$/
        name = Regexp.last_match(1)
        # Use table_map_set() to set these properties
        return false if name == 'table_map' || name == 'table_map_filter'
        key = :setter?
      elsif name =~ /^default_(.*)$/
        name = Regexp.last_match(1)
        key = :default_value?
      end
      begin
        ref = node.cmd_ref.lookup('bgp_af', name)
        ref.send(key)
      rescue IndexError
        super
      end
    end
def respond_to?(method_sym, _include_private=false)
      name = method_sym.to_s
      key = :getter?
      if name =~ /^(.*)=$/
        name = Regexp.last_match(1)
        # Use table_map_set() to set these properties
        return false if name == 'table_map' || name == 'table_map_filter'
        key = :setter?
      elsif name =~ /^default_(.*)$/
        name = Regexp.last_match(1)
        key = :default_value?
      end
      begin
        ref = node.cmd_ref.lookup('bgp_af', name)
        ref.send(key)
      rescue IndexError
        super
      end
    end
def respond_to? ( method_sym , _include_private = false ) name = method_sym . to_s key = :getter? if name =~ / / name = Regexp . last_match ( 1 ) # Use table_map_set() to set these properties return false if name == 'table_map' || name == 'table_map_filter' key = :setter? elsif name =~ / / name = Regexp . last_match ( 1 ) key = :default_value? end begin ref = node . cmd_ref . lookup ( 'bgp_af' , name ) ref . send ( key ) rescue IndexError super end end
Is the given name available in the YAML?
Is the given name available in the YAML?