Method: Code0::ZeroTrack::Context#merge
- Defined in:
- lib/code0/zero_track/context.rb
#merge(new_attributes) ⇒ Object
62 63 64 65 66 67 |
# File 'lib/code0/zero_track/context.rb', line 62 def merge(new_attributes) new_context = self.class.new(data.dup) new_context.assign_attributes(new_attributes) new_context end |