diff options
author | N.N. <matju@users.sourceforge.net> | 2008-04-28 18:10:15 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2008-04-28 18:10:15 +0000 |
commit | 91c0003b158e5f0ed9d0677fb136ae8bb6f86ec5 (patch) | |
tree | d413a48086819f6a2620cd27d030861d122d4f3f /externals/gridflow/devices4ruby/README | |
parent | 98dfdfa2fc1c92ba69e33fd77ed3392034297c1f (diff) |
this is an old gridflow, and there's already a svn repository at http://gridflow.ca/svn/trunk
svn path=/trunk/; revision=9739
Diffstat (limited to 'externals/gridflow/devices4ruby/README')
-rw-r--r-- | externals/gridflow/devices4ruby/README | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/externals/gridflow/devices4ruby/README b/externals/gridflow/devices4ruby/README deleted file mode 100644 index 740b5165..00000000 --- a/externals/gridflow/devices4ruby/README +++ /dev/null @@ -1,27 +0,0 @@ -devices/linux - -AUTHOR - - Mathieu Bouchard <matju@sympatico.ca> - irc: irc.openprojects.net / #ruby-lang / matju - (note: I can't read Japanese; write in French or English please) - -OVERVIEW - -This is a collection of simple modules that you extend IO objects with, to -give them support for specific devices. For example: - - require "linux/SoundMixer" - f = File.open "/dev/mixer" - f.extend Linux::SoundMixer - - # f now has special accessors for driver variables, e.g: - - f.treble = left_speaker_percent + 256 * right_speaker_percent - -The modules are made of automatically generated methods, much like Ruby's -accessors. those generators are called ioctl_reader, ioctl_writer, -ioctl_accessor. Writing expects an integer in -2**31...2**31; reading will -return the same. You may browse the source to find out which accessors are -available, and it's easy to add support for more features. - |