lib/mocktail.rb in mocktail-0.0.6 vs lib/mocktail.rb in mocktail-1.0.0

- old
+ new

@@ -1,8 +1,9 @@ require_relative "mocktail/dsl" require_relative "mocktail/errors" require_relative "mocktail/explains_thing" +require_relative "mocktail/explains_nils" require_relative "mocktail/handles_dry_call" require_relative "mocktail/handles_dry_new_call" require_relative "mocktail/imitates_type" require_relative "mocktail/initializes_mocktail" require_relative "mocktail/matcher_presentation" @@ -57,9 +58,13 @@ ResetsState.new.reset end def self.explain(thing) ExplainsThing.new.explain(thing) + end + + def self.explain_nils + ExplainsNils.new.explain end # Stores most transactional state about calls & stubbing configurations # Anything returned by this is undocumented and could change at any time, so # don't commit code that relies on it!