class Fuubar::Output
Public Class Methods
new(output, force_tty = false)
click to toggle source
# File lib/fuubar/output.rb, line 7 def initialize(output, force_tty = false) # rubocop:disable Style/OptionalBooleanParameter, Lint/MissingSuper @raw_output = output @force_tty = force_tty end
Public Instance Methods
__getobj__()
click to toggle source
# File lib/fuubar/output.rb, line 12 def __getobj__ @raw_output end
tty?()
click to toggle source
# File lib/fuubar/output.rb, line 16 def tty? @force_tty || @raw_output.tty? end