Class: WIP::Runner::Spec::Helpers::UIHelpers::CustomUI

Inherits:
UI
  • Object
show all
Defined in:
lib/wip/runner/spec/helpers/ui_helpers.rb

Instance Method Summary collapse

Methods inherited from UI

#err, #indent, #indent_level=, #out

Constructor Details

#initialize(input, out, err) ⇒ CustomUI

Returns a new instance of CustomUI.



52
53
54
55
# File 'lib/wip/runner/spec/helpers/ui_helpers.rb', line 52

def initialize(input, out, err)
  @out = CustomLine.new(input, out, nil, nil, 2, 0)
  @err = CustomLine.new(input, err, nil, nil, 2, 0)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class WIP::Runner::UI