Ruby Classes as Directories, Methods as Files #
A fantastic hack by Shinichiro H! You can pretend to read all about it, tangled in the Japanese, and at least you can nod at the code:
$ ruby rubyfs.rb /mnt/ruby $ cd /mnt/ruby $ cat Time/now Thu Mar 23 18:12:35 EST 2006 $ ls Array .. a list of all Array methods ..
This is for you Linux kids only. Compile and load the FUSE kernel module. Install FuseFS. Run rubyfs.rb. We’ve been through this once with RailsFS, this extension’s a classic.


