Sha256: b7fcd2ff969283fbc1ae308eb09cba399d646a9e20588451d09ceb288bc4185b
Contents?: true
Size: 920 Bytes
Versions: 13
Compression:
Stored size: 920 Bytes
Contents
class User < MotionPrime::Model attributes :name, :age, :created_at end class Plane < MotionPrime::Model attributes :name, :age end class Listing < MotionPrime::Model attribute :name end class Todo < MotionPrime::Model attribute :title bag :items end class TodoItem < MotionPrime::Model attribute :completed attribute :text end class Page < MotionPrime::Model attribute :text attribute :index end class Animal < MotionPrime::Model attribute :name end class Autobot < MotionPrime::Model attribute :name end module CustomModule; end class CustomModule::Car < MotionPrime::Model attribute :name attribute :created_at end Car = CustomModule::Car def stub_user(name, age, created_at) user = User.new user.name = name user.age = age user.created_at = created_at user end def documents_path NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, true)[0] end
Version data entries
13 entries across 13 versions & 1 rubygems