Method: External::Base#dup

Defined in:
lib/external/base.rb

#dupObject

Returns a duplicate of self. This can be a slow operation as it may involve copying the full contents of one large file to another.



114
115
116
117
# File 'lib/external/base.rb', line 114

def dup
  flush
  another.concat(self)
end