Class: WebTranslateIt::Safe::Local

Inherits:
Sink show all
Defined in:
lib/web_translate_it/safe/local.rb

Instance Attribute Summary

Attributes inherited from Stream

#backup, #config

Instance Method Summary collapse

Methods inherited from Sink

#process

Methods inherited from Stream

#expand, #initialize

Constructor Details

This class inherits a constructor from WebTranslateIt::Safe::Stream

Instance Method Details

#active?Boolean

Returns:

  • (Boolean)


7
8
9
10
11
# File 'lib/web_translate_it/safe/local.rb', line 7

def active?
  # S3 can't upload from pipe. it needs to know file size, so we must pass through :local
  # will change once we add SSH/FTP sink
  true
end