Method: Rugged::Tag::Annotation#name

Defined in:
ext/rugged/rugged_tag.c

#nameObject

Return a string with the name of this tag annotation.

annotation.name #=> "v0.16.0"

95
96
97
98
99
100
101
# File 'ext/rugged/rugged_tag.c', line 95

static VALUE rb_git_tag_annotation_name(VALUE self)
{
	git_tag *tag;
	TypedData_Get_Struct(self, git_tag, &rugged_object_type, tag);

	return rb_str_new_utf8(git_tag_name(tag));
}