Class/Module 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
def self.extended(base)
  base.class_inheritable_accessor :loaded
  base.loaded = false
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
def should_not_be_a_kicker(ivar = :@articles)
  unless loaded
    it 'should not be a kicker' do
      instance_variable_get(ivar).should_not be_loaded
    end
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.