/*
 * Get a particular method in the specification by name
 *
 *   # get the method named 'jump'
 *   
 *   method = ifspec.get_method['jump']
 */

static VALUE ifspec_get_method(VALUE self, VALUE name)
{
	IrmoInterfaceSpec *spec = unwrap_ifspec(self);
	IrmoMethod *method;

	method = irmo_interface_spec_get_method(spec, STR2CSTR(name));

	return wrap_method(method);
}