opensoul.org

1 Comment

  1. Evan Evan January 31, 2008

    Hey, I needed a way to read the topic as well as assign it. This seems ok well:

    module Tinder
    class Room


    1. Get the current topic
      def topic
      join
      h = (Hpricot(@room.body)/“#topic”)
      h.inner_text.strip if h
      end
      end
      end

Post a Comment

Comments use textile. Anonymous comments will be deleted.

My name is Brandon Keepers. I like to build things, usually in Ruby or JavaScript. I work at GitHub and live in Holland, MI.

Popular Posts