Class: CouchPotato::RSpec::ListAsProxy
- Inherits:
-
Object
- Object
- CouchPotato::RSpec::ListAsProxy
- Defined in:
- lib/couch_potato/rspec/matchers/list_as_matcher.rb
Instance Method Summary (collapse)
- - (Object) as(expected_ruby)
-
- (ListAsProxy) initialize(results_ruby)
constructor
A new instance of ListAsProxy.
Constructor Details
- (ListAsProxy) initialize(results_ruby)
A new instance of ListAsProxy
4 5 6 |
# File 'lib/couch_potato/rspec/matchers/list_as_matcher.rb', line 4 def initialize(results_ruby) @results_ruby = results_ruby end |
Instance Method Details
- (Object) as(expected_ruby)
8 9 10 |
# File 'lib/couch_potato/rspec/matchers/list_as_matcher.rb', line 8 def as(expected_ruby) ListAsMatcher.new(expected_ruby, @results_ruby) end |