Sha256: 460a355e285dcf757908049dcf3217b1b308f21260469d4a6621330b52943bff
Contents?: true
Size: 356 Bytes
Versions: 28
Compression:
Stored size: 356 Bytes
Contents
module Fission class UI attr_reader :stdout def initialize(stdout=$stdout) @stdout = stdout end def output(s) @stdout.puts s end def output_printf(string, key, value) @stdout.send :printf, string, key, value end def output_and_exit(s, exit_code) output s exit exit_code end end end
Version data entries
28 entries across 28 versions & 2 rubygems