aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Richard Brown <rbrown@exherbo.org> 2008-05-14 20:13:16 +0000
committerAvatar Richard Brown <rbrown@exherbo.org> 2008-05-14 20:13:16 +0000
commit880c65df6ba1042927c9974268358d927123dd84 (patch)
tree63f738e6289deba97d42581d10d05bfde56fec85
parent5948ff3f57deb39a38639bf5949623c961324046 (diff)
downloadpaludis-880c65df6ba1042927c9974268358d927123dd84.tar.gz
paludis-880c65df6ba1042927c9974268358d927123dd84.tar.xz
(ruby) Add some missing documentation.
-rw-r--r--ruby/dep_spec.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/ruby/dep_spec.cc b/ruby/dep_spec.cc
index 0bc2ede..54adb96 100644
--- a/ruby/dep_spec.cc
+++ b/ruby/dep_spec.cc
@@ -520,12 +520,14 @@ namespace
};
/*
+ * Document-method: condition_met?
* call-seq:
* condition_met? -> true or false
*
* Whether our condition is met.
*/
/*
+ * Document-method: condition_meetable?
* call-seq:
* condition_meetable? -> true or false
*
@@ -769,6 +771,27 @@ namespace
return INT2FIX(std::tr1::static_pointer_cast<const WrappedSpec<PackageDepSpec> >(*ptr)->spec()->version_requirements_mode());
}
+ /*
+ * Document-method: original_url
+ * call-seq: original_url -> String
+ *
+ * The original URL (that is, the text to the left of the arrow, if present,
+ * or the entire text otherwise).
+ */
+ /*
+ * Document-method: renamed_url_suffix
+ * call-seq: renamed_url_suffix -> String
+ *
+ * The renamed URL filename (that is, the text to the right of the arrow,
+ * if present, or an empty string otherwise).
+ */
+ /*
+ * Document-method: filename
+ * call-seq: filename -> String
+ *
+ * The filename (that is, the renamed URL suffix, if present, or the text
+ * after the final / in the original URL otherwise).
+ */
template <std::string (FetchableURIDepSpec::* m_) () const>
struct FetchableURIDepSpecStringValue
{