Method: OpenSSL::Buffering#printf

Defined in:
lib/openssl/buffering.rb

#printf(s, *args) ⇒ Object

Formats and writes to the stream converting parameters under control of the format string.

See Kernel#sprintf for format string details.



463
464
465
466
# File 'lib/openssl/buffering.rb', line 463

def printf(s, *args)
  do_write(s % args)
  nil
end