Class: PuppetfileResolver::UI::NullUI

Inherits:
Object
  • Object
show all
Includes:
Molinillo::UI
Defined in:
lib/puppetfile-resolver/ui/null_ui.rb

Instance Method Summary collapse

Instance Method Details

#debug?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/puppetfile-resolver/ui/null_ui.rb', line 15

def debug?
  false
end

#outputObject

Suppress all output



11
12
13
# File 'lib/puppetfile-resolver/ui/null_ui.rb', line 11

def output
  @output ||= File.open(File::NULL, 'w')
end