Class: Spec::Expectations::Helper::CollectionWithSizeMethod
- Defined in:
- lib/gems/rspec-1.1.11/spec/spec/spec_classes.rb
Instance Method Summary collapse
-
#initialize ⇒ CollectionWithSizeMethod
constructor
A new instance of CollectionWithSizeMethod.
- #push(item) ⇒ Object
- #size ⇒ Object
Constructor Details
#initialize ⇒ CollectionWithSizeMethod
Returns a new instance of CollectionWithSizeMethod.
22 |
# File 'lib/gems/rspec-1.1.11/spec/spec/spec_classes.rb', line 22 def initialize; @list = []; end |