Class: Waves::Matchers::Resource
- Defined in:
- lib/waves/matchers/resource.rb
Overview
todo: hmmm … it turns out there don’t seem to be a whole lot of matchers that aren’t request-based. and by “whole lot” i really mean “any” … so maybe we don’t need this extra layer of abstraction? -dan
Instance Method Summary collapse
- #[](*args) ⇒ Object
- #call(resource) ⇒ Object
-
#initialize(options) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(options) ⇒ Resource
Returns a new instance of Resource.
15 16 17 |
# File 'lib/waves/matchers/resource.rb', line 15 def initialize( ) @matcher = Waves::Matchers::Request.new( ) end |