Class: LDAP::Message

Inherits:
Object
  • Object
show all
Defined in:
ext/ldap.c

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



455
456
457
458
# File 'ext/ldap.c', line 455

static VALUE rldap_msg_get_val(VALUE obj, VALUE key)
{	
	return rb_hash_aref(rb_iv_get(obj, "@attrs"), key);
}

#dnObject



450
451
452
453
# File 'ext/ldap.c', line 450

static VALUE rldap_msg_dn(VALUE obj)
{	
	return rb_iv_get(obj, "@dn");
}

#keysObject



460
461
462
463
# File 'ext/ldap.c', line 460

static VALUE rldap_msg_keys(VALUE obj)
{
	return rb_funcall(rb_iv_get(obj, "@attrs"), rb_intern("keys"), 0);
}