aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2006-12-11 08:42:34 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2006-12-11 08:42:34 +0000
commit7c7bdc34e2867447ba0188f2597890a1f93ff892 (patch)
treecee01baa46f3c86afbc28fb0f76670727245dad3
parente3ce629dba7f5fb9ddfcb9467980a915ded11d2e (diff)
downloadpaludis-7c7bdc34e2867447ba0188f2597890a1f93ff892.tar.gz
paludis-7c7bdc34e2867447ba0188f2597890a1f93ff892.tar.xz
Re add ContentsSymEntry.to_s to ruby binding.
-rw-r--r--ruby/contents.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby/contents.cc b/ruby/contents.cc
index 7290c3b..6230981 100644
--- a/ruby/contents.cc
+++ b/ruby/contents.cc
@@ -245,6 +245,7 @@ namespace
c_contents_sym_entry = rb_define_class_under(paludis_module(), "ContentsSymEntry", c_contents_entry);
rb_define_singleton_method(c_contents_sym_entry, "new", RUBY_FUNC_CAST(&contents_sym_entry_new), -1);
rb_define_method(c_contents_sym_entry, "target", RUBY_FUNC_CAST((&ContentsThings<ContentsSymEntry,&ContentsSymEntry::target>::fetch)), 0);
+ rb_define_method(c_contents_sym_entry, "to_s", RUBY_FUNC_CAST(&Common<ContentsSymEntry::ConstPointer>::to_s_via_ptr), 0);
}
}