Class: Spec::Expectations::Helper::ClassWithUnqueriedPredicate

Inherits:
Object
  • Object
show all
Defined in:
lib/vendor/plugins/rspec/spec/support/spec_classes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fooObject

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