Class: Backup::ResponseOutWriter

Inherits:
Struct
  • Object
show all
Defined in:
app/models/backup.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#streamObject

Returns the value of attribute stream

Returns:

  • (Object)

    the current value of stream



51
52
53
# File 'app/models/backup.rb', line 51

def stream
  @stream
end

Instance Method Details

#write(content) ⇒ Object



52
53
54
# File 'app/models/backup.rb', line 52

def write(content)
  stream << content
end