module BT

Public Instance Methods

<<(input_binary) click to toggle source
# File lib/bt_pngquant/shell_helper.rb, line 4
def <<(input_binary)
        Open3.popen3(self) do |stdin, stdout|
                stdin.binmode
                stdin.write input_binary
                stdin.close
                stdout.binmode
                stdout.read
        end
end