e$B1sF#$G$9!#e(B
2010e$BG/e(B6e$B7ne(B27e$BF|e(B0:09 Akinori MUSHA [email protected]:
e$B$“!”$=$&$G$9!#e(Bprotectede$B$KBP$7$Fe(Brespond_to?e$B$,??$rJV$7$F$$$k$Ne(B
e$B$r56$KE}0l$9$k$H$$$&$3$H$G$9$M!#e(B
e$B!!$@$$$V4V$,6u$$$F$7$^$$$^$7$?$,!"$3$l$G$I$&$G$7$g$&$+!#e(B
e$B$3$l$K$h$C$Fe(B rubyspec
e$B$,0J2<$N$h$&$K%(%i!<$r=P$9$h$&$K$J$j$^$7$?!#e(B
marc-andre e$B$,D>$7$F$/$l$k$+$J$"e(B
-
Kernel#respond_to_missing? isn’t called when obj responds to the given
protected method FAILED
Expected false to be true
/home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:65:in
block (3 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:5:in
block in <top (required)>’
/home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:4:in
`<top (required)>’
-
An exception occurred during: Mock.verify_count
Kernel#respond_to_missing? isn’t called when obj responds to the given
protected method FAILED
Mock ‘#KernelSpecs::A:0x859f65c’ expected to receive
‘respond_to_missing?’ exactly 0 times
but received it 1 times
/home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:5:in
block in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:4:in
<top (required)>’
-
Kernel#respond_to_missing? isn’t called when obj responds to the given
protected method, include_private = true FAILED
Expected false to be true
/home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:70:in
block (3 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:5:in
block in <top (required)>’
/home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:4:in
`<top (required)>’
-
An exception occurred during: Mock.verify_count
Kernel#respond_to_missing? isn’t called when obj responds to the given
protected method, include_private = true FAILED
Mock ‘#KernelSpecs::A:0x8224f90’ expected to receive
‘respond_to_missing?’ exactly 0 times
but received it 1 times
/home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:5:in
block in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_missing_spec.rb:4:in
<top (required)>’
-
Kernel#respond_to? returns true if obj responds to the given protected
method FAILED
Expected false
to equal true
/home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:30:in
block (2 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:12:in
<top (required)>’
-
Kernel#respond_to? returns true if obj responds to the given protected
method, include_private = true FAILED
Expected false
to equal true
/home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:36:in
block (2 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:12:in
<top (required)>’
-
Kernel#respond_to? returns true if obj responds to the given protected
method FAILED
Expected false
to equal true
/home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:42:in
block (2 levels) in <top (required)>' /home/mame/work/ruby/spec/rubyspec/core/kernel/respond_to_spec.rb:12:in
<top (required)>’
-
Delegator#method returns a method object for protected methods of the
delegate object ERROR
NameError: undefined method prot' for class
DelegateSpecs::Delegator’
/home/mame/work/ruby/spec/rubyspec/library/delegate/delegator/method_spec.rb:17:in
method' /home/mame/work/ruby/spec/rubyspec/library/delegate/delegator/method_spec.rb:17:in
block (2 levels) in <top (required)>’
/home/mame/work/ruby/spec/rubyspec/library/delegate/delegator/method_spec.rb:4:in
`<top (required)>’
-
SimpleDelegator.new forwards protected method calls ERROR
NoMethodError: undefined method prot' for #<DelegateSpecs::Simple:0xf73daac> /home/mame/work/ruby/spec/rubyspec/library/delegate/delegator/send_spec.rb:15:in
block (2 levels) in <top (required)>’
/home/mame/work/ruby/spec/rubyspec/library/delegate/delegator/send_spec.rb:4:in
`<top (required)>’