[Noisebridge-discuss] [Chunky_bacon] Ruby Class

Dr. Jesus j at hug.gs
Tue Dec 21 02:37:07 UTC 2010


On Mon, Dec 20, 2010 at 3:40 PM, Laura Khalil <zazenergy at gmail.com> wrote:
> Hi everyone,
> If you're looking for more ruby stuff to do I've just begin Ruby Warrior
> https://github.com/ryanb/ruby-warrior
> This is really fun. You are a character in a game, using your mad Ruby
> skills to fight evil slime monsters. How great is that ??!?! Each level is
> more challenging and it's a nice compliment to Koans since you're actually
> programming the game.
> Again, if anyone is interested in meeting during the weekday day to talk
> Ruby I'm available and interested.

That's pretty cool, Laura :)

I'd like to point out that noisebot, the chat robot in #noisebridge,
provides ruby reference information if you ask it nicely.  It's the
same as the "ri" command in a typical ruby distribution:

18:31 <dr_jesus> ri puts

18:31 <noisebot> More than one method matched your request. You can
refine  your search by asking for information on one of:
Net::WriteAdapter#puts, Net::Telnet#puts, Zlib::GzipWriter#puts,
IRB::Locale#puts, IRB::OutputMethod#puts,
IRB::Notifier::AbstructNotifier#puts, IO#puts, StringIO#puts,
XMP#puts, XMP::StringInputMethod#puts, Kernel#puts

18:31 <dr_jesus> ri IO#puts

18:31 <noisebot> IO#puts  ios.puts(obj, ...)  => nil  Writes the given
objects to _ios_ as with +IO#print+. Writes a  record separator
(typically a newline) after any that do not  already end with a
newline sequence. If called with an array  argument, writes each
element on a new line. If called without  arguments, outputs a single
record separator.  $stdout.puts("this", "is", "a", "test")
_produces:_  this  is  a  test

It also supports plugins, in case anyone has a new trick they'd like
to teach the robot to do:

  http://ruby-rbot.org/rdoc/classes/Irc/Bot/Plugins/BotModule.html



More information about the Noisebridge-discuss mailing list