Sha256: 9a0502fdeaa38f3e18446b1fb03a0acec5ef180354043f2d1307a2e5c20fa9fe
Contents?: true
Size: 404 Bytes
Versions: 1
Compression:
Stored size: 404 Bytes
Contents
# yet another filch from mongo mapper class FakeNilProxy < Ripple::Document::Associations::Proxy def find_target; nil end end class FakeBlankProxy < Ripple::Document::Associations::Proxy def find_target; '' end end class FakeNumberProxy < Ripple::Document::Associations::Proxy def find_target; 17 end end class FakeProxy < Ripple::Document::Associations::Proxy def find_target; [1, 2] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ripple-0.7.0 | spec/support/associations/proxies.rb |