aboutsummaryrefslogtreecommitdiff
path: root/ruby/package_id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/package_id.cc')
-rw-r--r--ruby/package_id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/package_id.cc b/ruby/package_id.cc
index 45ac02b2c..edaef2ca1 100644
--- a/ruby/package_id.cc
+++ b/ruby/package_id.cc
@@ -165,7 +165,7 @@ namespace
Data_Get_Struct(self, std::shared_ptr<const PackageID>, self_ptr);
try
{
- return rb_str_new2(stringify((*self_ptr)->repository()->name()).c_str());
+ return rb_str_new2(stringify((*self_ptr)->repository_name()).c_str());
}
catch (const std::exception & e)
{