Module: Net
- Defined in:
- lib/net/ber.rb,
lib/net/ldap.rb,
lib/net/snmp.rb,
lib/net/ldap/pdu.rb,
lib/net/ldap/version.rb,
lib/net/ldap/auth_adapter.rb,
lib/net/ldap/auth_adapter/sasl.rb,
lib/net/ldap/auth_adapter/simple.rb,
lib/net/ldap/auth_adapter/gss_spnego.rb
Overview
:stopdoc:
Defined Under Namespace
Modules: BER Classes: LDAP, SNMP, SnmpPdu
Class Method Summary collapse
-
.const_missing(name) ⇒ Object
Handle renamed constants Net::LdapPdu (Net::LDAP::PDU) and Net::LdapPduError (Net::LDAP::PDU::Error).
Class Method Details
.const_missing(name) ⇒ Object
Handle renamed constants Net::LdapPdu (Net::LDAP::PDU) and Net::LdapPduError (Net::LDAP::PDU::Error).
308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'lib/net/ldap/pdu.rb', line 308 def self.const_missing(name) #:nodoc: case name.to_s when "LdapPdu" warn "Net::#{name} has been deprecated. Use Net::LDAP::PDU instead." Net::LDAP::PDU when "LdapPduError" warn "Net::#{name} has been deprecated. Use Net::LDAP::PDU::Error instead." Net::LDAP::PDU::Error when 'LDAP' else super end end |