C0 code coverage information

Generated on Tue Jun 09 17:50:05 +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/form_builder.rb 36 29
100.0%  
100.0%  
 1 require 'nested_ajax'  2  3 module NestedAjax  4 module FormBuilder  5 unless defined?(EXTENSIONS)  6 EXTENSIONS = [  7 :BelongsToField  8 ]  9 10
    EXTENSIONS.each do |extension| 11 autoload extension,
    "nested_ajax/form_builder/#{extension.to_s.underscore}"
    12 include
    NestedAjax::FormBuilder.const_get(extension) 13 end 14 end 15 16 attr_accessor :pane 17 18
    pane_forwarding_methods = [ 19 :pane_id, 20 :has_many, 21 :submittable?, 22 :xhr?, :in_form?, :foreign_key?, :foreign_key,
    :link_to_new_cancel 23 ]
    24 25 pane_forwarding_methods.each do
    |forwarding_method| 26
    class_eval(<<-EOS) 27 def #{forwarding_method}(*args, &block)
    28 raise
    NestedAjax::UsageError, "This form has no pane. You may use form_for
    instead of pane.form_for" unless pane 29 pane.#{forwarding_method}(*args, &block)
    30 end 31 EOS 32 end 33 34 end 35 36
    end 

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

Valid XHTML 1.0! Valid CSS!