Class: CouchPotato::RSpec::MapToProxy
- Inherits:
-
Object
- Object
- CouchPotato::RSpec::MapToProxy
- Defined in:
- lib/couch_potato/rspec/matchers/map_to_matcher.rb
Instance Method Summary (collapse)
-
- (MapToProxy) initialize(input_ruby)
constructor
A new instance of MapToProxy.
- - (Object) to(*expected_ruby)
Constructor Details
- (MapToProxy) initialize(input_ruby)
A new instance of MapToProxy
7 8 9 |
# File 'lib/couch_potato/rspec/matchers/map_to_matcher.rb', line 7 def initialize(input_ruby) @input_ruby = input_ruby end |
Instance Method Details
- (Object) to(*expected_ruby)
11 12 13 |
# File 'lib/couch_potato/rspec/matchers/map_to_matcher.rb', line 11 def to(*expected_ruby) MapToMatcher.new(expected_ruby, @input_ruby) end |