def add_guides(guides)
      guides.each_item do |guide|
        extract(guide[:html]).each_with_index do |ex, i|
          @examples << {
            :id => guide["name"] + "-" + i.to_s,
            :name => guide["title"] + " example #" + (i+1).to_s,
            :href => '#!/guide/' + guide["name"],
            :code => ex[:code],
            :options => ex[:options],
          }
        end
      end

      self
    end
def add_guides(guides)
      guides.each_item do |guide|
        extract(guide[:html]).each_with_index do |ex, i|
          @examples << {
            :id => guide["name"] + "-" + i.to_s,
            :name => guide["title"] + " example #" + (i+1).to_s,
            :href => '#!/guide/' + guide["name"],
            :code => ex[:code],
            :options => ex[:options],
          }
        end
      end

      self
    end
Extracts inline examples from guides