mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Set non-verbose mode as well as tty mode
This commit is contained in:
parent
59b84fbf2e
commit
0fad9a9e30
1 changed files with 4 additions and 0 deletions
|
@ -160,6 +160,7 @@ module TestIRB
|
|||
PROMPT_N: '> '
|
||||
}
|
||||
}
|
||||
IRB.conf[:VERBOSE] = false
|
||||
IRB.conf[:PROMPT_MODE] = :DEFAULT
|
||||
IRB.conf[:MEASURE] = false
|
||||
input = TestInputMethod.new([
|
||||
|
@ -188,6 +189,7 @@ module TestIRB
|
|||
PROMPT_N: '> '
|
||||
}
|
||||
}
|
||||
IRB.conf[:VERBOSE] = false
|
||||
IRB.conf[:PROMPT_MODE] = :DEFAULT
|
||||
IRB.conf[:MEASURE] = true
|
||||
input = TestInputMethod.new([
|
||||
|
@ -214,6 +216,7 @@ module TestIRB
|
|||
PROMPT_N: '> '
|
||||
}
|
||||
}
|
||||
IRB.conf[:VERBOSE] = false
|
||||
IRB.conf[:PROMPT_MODE] = :DEFAULT
|
||||
IRB.conf[:MEASURE] = true
|
||||
IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block|
|
||||
|
@ -247,6 +250,7 @@ module TestIRB
|
|||
PROMPT_N: '> '
|
||||
}
|
||||
}
|
||||
IRB.conf[:VERBOSE] = false
|
||||
IRB.conf[:PROMPT_MODE] = :DEFAULT
|
||||
IRB.conf[:MEASURE] = false
|
||||
IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block|
|
||||
|
|
Loading…
Add table
Reference in a new issue