So how do you fix this?
Install it with rdoc -R from within the directory that has the .rb
Make sure it is there with ri -l
# rdoc -R oniguruma.rb
oniguruma.rb: mcc..........c....c.....
Generating RI...
Files: 1
Classes: 4
Modules: 1
Methods: 19
Elapsed: 2.334s
franz-g4:/my/src/oniguruma-1.1.0/lib root# ri -l | grep Oni
Oniguruma
Oniguruma::ORegexp
Oniguruma::ORegexp::escape
Oniguruma::ORegexp::last_match
Oniguruma::ORegexp::new
Oniguruma::ORegexp#==
Oniguruma::ORegexp#casefold?
Oniguruma::ORegexp#eql?
Oniguruma::ORegexp#inspect
Oniguruma::ORegexp#kcode
Oniguruma::ORegexp#options
Oniguruma::ORegexp#source
Oniguruma::ORegexp#to_s
On a related note segment7 has some nice blog entries on documentation
No comments:
Post a Comment