Class: Surrogate
- Inherits:
-
Object
- Object
- Surrogate
- Defined in:
- lib/surrogate.rb,
lib/surrogate/endower.rb,
lib/surrogate/options.rb,
lib/surrogate/version.rb,
lib/surrogate/hatchery.rb,
lib/surrogate/hatchling.rb,
lib/surrogate/api_comparer.rb,
lib/surrogate/method_queue.rb,
lib/surrogate/rspec/api_method_matchers.rb,
lib/surrogate/rspec/substitutability_matchers.rb
Defined Under Namespace
Modules: RSpec Classes: ApiComparer, Endower, Hatchery, Hatchling, MethodQueue, Options
Constant Summary collapse
- UnpreparedMethodError =
Class.new StandardError
- VERSION =
"0.2.0"
- UnknownMethod =
Class.new StandardError
Class Method Summary collapse
-
.endow(klass, &playlist) ⇒ Object
TODO: Find a new name that isn’t “playlist”.