Sha256: a03bb31ac254418edf55e3a914bb17b4d7e4584f754b6a208b1a8dc28ea104a0
Contents?: true
Size: 393 Bytes
Versions: 1
Compression:
Stored size: 393 Bytes
Contents
# frozen_string_literal: true require "cgi" require "fileutils" module GoogleTranslateTts module Utils def self.included(base) base.extend(ClassMethods) end module ClassMethods protected def copy_file(source, destination) FileUtils.cp(source, destination) end def url_encode(value) CGI.escape(value) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
google-translate-tts-0.2.0 | lib/google_translate_tts/utils.rb |