Sha256: a86e5dfeaf0d2a989c109ca3ae05aac53555831b354b11cfbf5e97ab67b70b63
Contents?: true
Size: 358 Bytes
Versions: 60
Compression:
Stored size: 358 Bytes
Contents
require 'mocha/class_method' module Mocha class ModuleMethod < ClassMethod def method_exists?(method) return true if stubbee.public_methods(false).include?(method) return true if stubbee.protected_methods(false).include?(method) return true if stubbee.private_methods(false).include?(method) return false end end end
Version data entries
60 entries across 49 versions & 5 rubygems