summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/context.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/irb/context.rb b/lib/irb/context.rb
index 6d6261e60b..a20510d73c 100644
--- a/lib/irb/context.rb
+++ b/lib/irb/context.rb
@@ -229,6 +229,19 @@ module IRB
#
# See IRB@Customizing+the+IRB+Prompt for more information.
attr_accessor :prompt_c
+
+ # TODO: Remove this when developing v2.0
+ def prompt_n
+ warn "IRB::Context#prompt_n is deprecated and will be removed in the next major release."
+ ""
+ end
+
+ # TODO: Remove this when developing v2.0
+ def prompt_n=(_)
+ warn "IRB::Context#prompt_n= is deprecated and will be removed in the next major release."
+ ""
+ end
+
# Can be either the default <code>IRB.conf[:AUTO_INDENT]</code>, or the
# mode set by #prompt_mode=
#