Class: MotionDataWrapper::Relation

Inherits:
NSFetchRequest
  • Object
show all
Includes:
CoreData, FinderMethods
Defined in:
lib/motion_data_wrapper/relation.rb,
lib/motion_data_wrapper/relation/core_data.rb,
lib/motion_data_wrapper/relation/finder_methods.rb

Defined Under Namespace

Modules: CoreData, FinderMethods

Instance Method Summary collapse

Methods included from FinderMethods

#all, #count, #destroy_all, #except, #first, #last, #limit, #offset, #order, #pluck, #uniq, #where

Methods included from CoreData

#inspect, #to_a

Instance Method Details

#initWithClass(klass) ⇒ Object



6
7
8
9
# File 'lib/motion_data_wrapper/relation.rb', line 6

def initWithClass(klass)
  self.entity = klass.entity_description if init
  self
end