1
0
Fork 0
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:
Nobuyoshi Nakada 2020-12-20 17:10:11 +09:00
parent 59b84fbf2e
commit 0fad9a9e30
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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|