Class: Capture

Inherits:
Object show all
Includes:
DataMapper::Resource
Defined in:
lib/fabric/capture.rb

Instance Method Summary collapse

Instance Method Details

#append(data) ⇒ Object



18
19
20
# File 'lib/fabric/capture.rb', line 18

def append(data)
  self.contents << data
end

#clear!Object



14
15
16
# File 'lib/fabric/capture.rb', line 14

def clear!
  self.contents = ''
end