Class: HyperSpec::Have
- Inherits:
-
Struct
- Object
- Struct
- HyperSpec::Have
- Defined in:
- lib/hyperspec.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#proxy ⇒ Object
Returns the value of attribute proxy.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *arguments, &block) ⇒ Object
251 252 253 |
# File 'lib/hyperspec.rb', line 251 def method_missing(method_name, *arguments, &block) proxy.send(method_name).must_equal(*arguments) end |
Instance Attribute Details
#proxy ⇒ Object
Returns the value of attribute proxy
250 251 252 |
# File 'lib/hyperspec.rb', line 250 def proxy @proxy end |