阅读背景:

Rspec如何使用存根模块实例方法?

来源:互联网 

B.rb looks like:

B。rb的样子:

module A
   module B

     def enabled? xxx
        xxx == 'a'
     end

     def disabled? xxx
       xxx != 'a'
     end
   end
end
module A
   modul



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: