lib/mutest/reporter/cli/tput.rb in mutest-0.0.9 vs lib/mutest/reporter/cli/tput.rb in mutest-0.0.10
- old
+ new
@@ -1,11 +1,12 @@
module Mutest
class Reporter
class CLI
# Interface to the optionally present tput binary
class Tput
- include Adamantium, Concord::Public.new(:prepare, :restore)
+ include Concord::Public.new(:prepare, :restore)
+ include Adamantium
private_class_method :new
# Detected tput support
#
@@ -35,9 +36,9 @@
def self.capture(command)
stdout, _stderr, exitstatus = Open3.capture3(command)
stdout if exitstatus.success?
end
private_class_method :capture
- end # Tput
- end # CLI
- end # Reporter
-end # Mutest
+ end
+ end
+ end
+end