class TravelsPlansTwin
- TravelsPlansTwin
- Reference
- Object
Included Modules
- JenniferTwin
Defined in:
models/travels_plans.crConstructors
Instance Method Summary
- #created_at : Union(Time, Nil)
- #id : Int32 | Nil
- 
        #to_model : TravelsPlans
        
          Returns a new instance of model class created from current twin state. 
- #travel_stops : String
- #updated_at : Union(Time, Nil)
Constructor Detail
Instance Method Detail
        
        def to_model : TravelsPlans
        #
      
      
        
              Description copied from module JenniferTwin
            
          
          Returns a new instance of model class created from current twin state.
user = User.all.first
user_twin.full_name = "New Name"
user_twin.to_modal # <User:0x000000000030 id: nil, name: "New Name">