Class: XSpec::Evaluator::Doubles::StringReference

Inherits:
Reference
  • Object
show all
Defined in:
lib/xspec/evaluators.rb

Overview

A string reference is the “null object” of references, allowing all methods to be expected. It is used when nothing is known about the referenced class (such as when it has not been loaded).

Method Summary

Methods inherited from Reference

#initialize, #to_s, #validate_call!

Constructor Details

This class inherits a constructor from XSpec::Evaluator::Doubles::Reference