Class: Rubydex::MethodAliasDefinition

Inherits:
Definition
  • Object
show all
Defined in:
ext/rubydex/definition.c

Instance Method Summary collapse

Methods inherited from Definition

#comments, #declaration, #deprecated?, #initialize, #location, #name, #name_location

Constructor Details

This class inherits a constructor from Rubydex::Definition

Instance Method Details

#signaturesObject

MethodAliasDefinition#signatures -> [Rubydex::Signature]



279
280
281
282
283
284
285
286
287
288
# File 'ext/rubydex/definition.c', line 279

static VALUE rdxr_method_alias_definition_signatures(VALUE self) {
    HandleData *data;
    TypedData_Get_Struct(self, HandleData, &handle_type, data);

    void *graph;
    TypedData_Get_Struct(data->graph_obj, void *, &graph_type, graph);

    SignatureArray *arr = rdx_method_alias_definition_signatures(graph, data->id);
    return rdxi_signatures_to_ruby(arr);
}