C0 code coverage information

Generated on Tue Jun 09 17:50:06 +0900 2009 with rcov 0.8.1.2


Code reported as executed by Ruby looks like
    this... and this: this line is also marked as
    covered. Lines considered as run by rcov, but
    not reported by Ruby, look like this, and
    this: these lines were inferred by rcov (using simple heuristics).
    Finally, here's a line marked as not
    executed. 
Name Total lines Lines of code Total coverage Code coverage
lib/nested_ajax/pane_tag.rb 27 21
100.0%  
100.0%  
 1 require 'nested_ajax'  2  3 module NestedAjax  4 module PaneTag  5  6
    class << self  7
     8 def
    name_and_options(pane_id, options = nil)  9 options ||= {} 10 html_options = HashWithIndifferentAccess.new(
    11 {:tag_name =>
    :div, :id => pane_id}.update(options)) 12 html_options[:class] = 'nested_ajax ' <<
    (html_options[:class] || '') 13 tag_name = html_options.delete(:tag_name) 14 return tag_name, html_options
    15 end 16 17 def render(template, pane_id, options) 18 tag_name, options =
    name_and_options(pane_id, options) 19 template.concat(template.tag(tag_name, options, true))
    20 yield if block_given?
    21
    template.concat("</#{tag_name}>") 22 end 23 24 end 25 26
    end 27 end 

Generated using the rcov code coverage analysis tool for Ruby version 0.8.1.2.

Valid XHTML 1.0! Valid CSS!