Class: Spec::Expectations::Helper::ClassWithUnqueriedPredicate
- Defined in:
- lib/vendor/plugins/rspec/spec/support/spec_classes.rb
Instance Attribute Summary collapse
-
#foo ⇒ Object
Returns the value of attribute foo.
Instance Method Summary collapse
-
#initialize(foo) ⇒ ClassWithUnqueriedPredicate
constructor
A new instance of ClassWithUnqueriedPredicate.
Constructor Details
#initialize(foo) ⇒ ClassWithUnqueriedPredicate
Returns a new instance of ClassWithUnqueriedPredicate.
93 94 95 |
# File 'lib/vendor/plugins/rspec/spec/support/spec_classes.rb', line 93 def initialize(foo) @foo = foo end |
Instance Attribute Details
#foo ⇒ Object
Returns the value of attribute foo.
92 93 94 |
# File 'lib/vendor/plugins/rspec/spec/support/spec_classes.rb', line 92 def foo @foo end |