RDoc of C extensions that extend classes235 (2/11/2005 2:10:53 PM) comp.lang.ruby Hello Group, I'm having a problem documenting my C extensions. The extension actually consists of multiple differenct extensions. One that defines a Class and some Functions on it, and others that expand the... ISO
mkmf.rb Documentation339 (2/1/2005 9:10:50 PM) comp.lang.ruby Hello Group, does there exist a mkmf.rb documentation except for the page in the pickaxe? The code is not very readable and I have found nothing so far? At the moment I am wondering if it is possible to gener... Brian
How to correctly create ruby objects from C extensions.931 (1/27/2005 2:52:48 PM) comp.lang.ruby Hello Group, I'm asking myself what is the way to create a ruby object correctly from a C extension. As I've extracted from ruby.h and README.EXT the things I can come up with are: rb_funcall(rb_const_get(sel... Brian
Debugging C Extensions and [A bit OT] general C Questions519 (1/26/2005 7:11:22 PM) comp.lang.ruby Hello Group, I'm right now learning to write C extensions and it works quite good. The only problem is, that my C was never very profound and I seem to have forgotten all of it in the meantime. So obviously I ... Brian
Hacking NArray719 (1/25/2005 4:50:13 PM) comp.lang.ruby Hello group, I will be busy doing volume data processing the next six months, and I have decided to use narray for this purpose. I'm will shurely have need to implement some functions in c, because otherwise ... Brian
rdoc bug DelegateClass(Other)017 (12/14/2004 12:21:49 AM) comp.lang.ruby I hope this has not been reported before, but with $ ruby -v ruby 1.8.2 (2004-12-06) [i386-linux] $ rdoc -v RDoc V1.0.1 - 20041108 $ dot -V dot version 1.14 (Tue Aug 31 06:20:44 UTC 2004) and a class definiti... Brian
How to make a deep copy of an object (Searching for Idiom)1716 (12/10/2004 7:59:10 PM) comp.lang.ruby Hello Group, I sometimes which to make a deep copy of an object. I know I could use Marshal, but thats slow so I want to write a routine #deep_copy. (Or should I overwrite #dup ?) Now the question is, how do ... Brian
[Ann] RPA completion for bash: 12/08/04222 (12/8/2004 2:40:24 PM) comp.lang.ruby Announcing a new version of programmatical completion for bash. I finally have included the patch from Nobu Nokada and fixed a missing command. Find the newest version at http://ruby.brian-schroeder.de/rpa-c... Brian
Unpacking an array with the star operator242 (11/30/2004 4:40:22 PM) comp.lang.ruby Hello Group, I just noticed the following behaviour: $ irb --prompt-mode xmp *[:x] SyntaxError: compile error (irb):1: syntax error from (irb):1 a=*[:x] ==>:x and wondered why it is the case. I a... Brian
Convolution using narray152 (11/28/2004 11:35:17 PM) comp.lang.ruby The narray documentation is a bit thin, so I'm asking here. I do want to do a convolution. Map a two dimensional kernel onto a two dimensional image. I thought the FFTW.convol(a, b) function of narray would ... Brian
ruby-mode.el1124 (2/9/2005 8:41:08 AM) comp.lang.ruby Hi, Some things about the new ruby-mode.el in Ruby 1.8.2: font-lock doesn't turn on by default unless I replace the line in ruby-mode.el that reads (eval-when-compile (require 'cl)) with (eval-when-compile ... ay1204(32)
fxruby + threads + ctrl-c != stacktrace220 (2/11/2005 8:30:25 AM) comp.lang.ruby Hi! I am writing an fxruby application, but unfortunately sometimes, somewhere there has to be an infinite loop. (CPU 100%, taking more and more memory). When I press Ctrl+C I expect to get a stack trace, but t... martin.ankerl(155)
RDoc of C extensions that extend classes235 (2/11/2005 2:10:53 PM) comp.lang.ruby Hello Group, I'm having a problem documenting my C extensions. The extension actually consists of multiple differenct extensions. One that defines a Class and some Functions on it, and others that expand the... ruby5435(237)
new to this language823 (2/11/2005 5:01:31 PM) comp.lang.ruby ------_=_NextPart_001_01C5105B.49D44EFF Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I am completely new to this language. I am trying to learn it on my o... vidhi.ghelani(16)
Structuring Ruby extension code536 (2/13/2005 7:37:33 AM) comp.lang.ruby I'm relatively new to Ruby (in terms of seriously programming in it) and right now i want to create a C extension for the low-level ogg/vorbis libraries. I have the basic architecture for this mapped out in ... craig-duncan(12)
ri needs to tell me what to require431 (2/16/2005 9:37:54 PM) comp.lang.ruby % ri File.copy ------------------------------------------------------------- File::copy File::copy(from, to, verbose = false) ------------------------------------------------------------------------ ... bg-rubytalk(315)
[QUIZ] 1-800-THE-QUIZ (#20)1316 (2/18/2005 1:57:59 PM) comp.lang.ruby The three rules of Ruby Quiz: 1. Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. 2. Support Ruby Quiz by submitting ideas as of... james8284(4404)
Including problems445 (2/20/2005 9:39:53 PM) comp.lang.ruby I have a file (index.rb) that includes head.rb. head.rb has a class "Page" and in it, method "start". The problem is that when calling Page.start I get this error: "uninitialized constant #::Page (NameError)" i... thedcm(16)
[SUMMARY] 1-800-THE-QUIZ (#20)732 (2/24/2005 2:35:28 PM) comp.lang.ruby Here's an interesting quote from Brian Schroeder's solution page: To make it more difficult JEGII introduced the possibility to skip letters, but in my opinion this leads to bad results (Though it made me th... james8284(4404)