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

Inherits:
Object
  • Object
show all
Defined in:
lib/gems/rspec-1.1.11/spec/spec/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/gems/rspec-1.1.11/spec/spec/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/gems/rspec-1.1.11/spec/spec/spec_classes.rb', line 92

def foo
  @foo
end