Sha256: 7c8093737c5868856cf51dde8583eafbc477aad232d88387653019d234833a1c
Contents?: true
Size: 404 Bytes
Versions: 54
Compression:
Stored size: 404 Bytes
Contents
# # Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>) # © Copyright IBM Corporation 2014. # # LICENSE: MIT (http://opensource.org/licenses/MIT) # module Shindo class Tests def responds_to(method_names) for method_name in [*method_names] tests("#respond_to?(:#{method_name})").returns(true) do @instance.respond_to?(method_name) end end end end end
Version data entries
54 entries across 52 versions & 3 rubygems