Class Index [+]

Quicksearch

DataMapper::Spec::CollectionHelpers::GroupMethods

Public Class Methods

extended(base) click to toggle source
   # File lib/dm-core/spec/lib/collection_helpers.rb, line 5
5:         def self.extended(base)
6:           base.class_inheritable_accessor :loaded
7:           base.loaded = false
8:         end

Public Instance Methods

should_not_be_a_kicker(ivar = :@articles) click to toggle source
    # File lib/dm-core/spec/lib/collection_helpers.rb, line 10
10:         def should_not_be_a_kicker(ivar = :@articles)
11:           unless loaded
12:             it 'should not be a kicker' do
13:               instance_variable_get(ivar).should_not be_loaded
14:             end
15:           end
16:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.