33 lines
521 B
Ruby
33 lines
521 B
Ruby
module Twine
|
|
@@stdout = STDOUT
|
|
@@stderr = STDERR
|
|
|
|
def self.stdout
|
|
@@stdout
|
|
end
|
|
|
|
def self.stdout=(out)
|
|
@@stdout = out
|
|
end
|
|
|
|
def self.stderr
|
|
@@stderr
|
|
end
|
|
|
|
def self.stderr=(err)
|
|
@@stderr = err
|
|
end
|
|
|
|
class Error < StandardError
|
|
end
|
|
|
|
require 'twine/plugin'
|
|
require 'twine/cli'
|
|
require 'twine/stringsfile'
|
|
require 'twine/encoding'
|
|
require 'twine/output_processor'
|
|
require 'twine/placeholders'
|
|
require 'twine/formatters'
|
|
require 'twine/runner'
|
|
require 'twine/version'
|
|
end
|