summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-05-16 18:30:50 +0200
committerMichael Schroeder <mls@suse.de>2013-05-16 18:30:50 +0200
commit64ff7df719bcabc86c2c81089745dc4aadbe43b6 (patch)
tree0cb5b9985589a38354739d56d84619a51779d80a /doc
parent234a84c6f0d725e483ff5577b4f3f84d3f4e63c5 (diff)
downloadlibsolv-64ff7df719bcabc86c2c81089745dc4aadbe43b6.tar.gz
libsolv-64ff7df719bcabc86c2c81089745dc4aadbe43b6.tar.bz2
libsolv-64ff7df719bcabc86c2c81089745dc4aadbe43b6.zip
fix ruby class methods in doc
Diffstat (limited to 'doc')
-rw-r--r--doc/libsolv-bindings.38
-rw-r--r--doc/libsolv-bindings.txt8
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/libsolv-bindings.3 b/doc/libsolv-bindings.3
index 8617f36..33f48b8 100644
--- a/doc/libsolv-bindings.3
+++ b/doc/libsolv-bindings.3
@@ -1647,9 +1647,9 @@ Checksums (also called hashes) are used to make sure that downloaded data is not
.\}
.nf
\fBChksum *Chksum(Id\fR \fItype\fR\fB)\fR
-my \fI$chksum\fR \fB= solv\&.Chksum\->new(\fR\fI$type\fR\fB)\fR;
+my \fI$chksum\fR \fB= solv::Chksum\->new(\fR\fI$type\fR\fB)\fR;
\fIchksum\fR \fB= solv\&.Chksum(\fR\fItype\fR\fB)\fR
-\fIchksum\fR \fB= solv\&.Chksum\&.new(\fR\fItype\fR\fB)\fR
+\fIchksum\fR \fB= Solv::Chksum\&.new(\fR\fItype\fR\fB)\fR
.fi
.if n \{\
.RE
@@ -1676,9 +1676,9 @@ These keys are constants in the \fBsolv\fR class\&.
.\}
.nf
\fBChksum *Chksum(Id\fR \fItype\fR\fB, const char *\fR\fIhex\fR\fB)\fR
-my \fI$chksum\fR \fB= solv\&.Chksum\->new(\fR\fI$type\fR\fB,\fR \fI$hex\fR\fB)\fR;
+my \fI$chksum\fR \fB= solv::Chksum\->new(\fR\fI$type\fR\fB,\fR \fI$hex\fR\fB)\fR;
\fIchksum\fR \fB= solv\&.Chksum(\fR\fItype\fR\fB,\fR \fIhex\fR\fB)\fR
-\fIchksum\fR \fB= solv\&.Chksum\&.new(\fR\fItype\fR\fB,\fR \fIhex\fR\fB)\fR
+\fIchksum\fR \fB= Solv::Chksum\&.new(\fR\fItype\fR\fB,\fR \fIhex\fR\fB)\fR
.fi
.if n \{\
.RE
diff --git a/doc/libsolv-bindings.txt b/doc/libsolv-bindings.txt
index 22e3a57..6fcc624 100644
--- a/doc/libsolv-bindings.txt
+++ b/doc/libsolv-bindings.txt
@@ -981,9 +981,9 @@ mechanism to check if data has changed.
=== CLASS METHODS ===
Chksum *Chksum(Id type)
- my $chksum = solv.Chksum->new($type);
+ my $chksum = solv::Chksum->new($type);
chksum = solv.Chksum(type)
- chksum = solv.Chksum.new(type)
+ chksum = Solv::Chksum.new(type)
Create a checksum object. Currently the following types
are supported:
@@ -995,9 +995,9 @@ are supported:
These keys are constants in the *solv* class.
Chksum *Chksum(Id type, const char *hex)
- my $chksum = solv.Chksum->new($type, $hex);
+ my $chksum = solv::Chksum->new($type, $hex);
chksum = solv.Chksum(type, hex)
- chksum = solv.Chksum.new(type, hex)
+ chksum = Solv::Chksum.new(type, hex)
Create an already finalized checksum object.