class

IRB::Context

v2_5_5 - Show latest stable - Superclass: Object

A class that wraps the current state of the irb session, including the configuration of IRB.conf.

Constants

IDNAME_IVARS = ["@prompt_mode"]

NOPRINTING_IVARS = ["@last_value"]

NO_INSPECTING_IVARS = ["@irb", "@io"]

Attributes

[RW]ap_name
[RW]auto_indent_mode
[RW]back_trace_limit
[R]debug_level
[RW]echo
[RW]echo?
[R]eval_history
[RW]ignore_eof
[RW]ignore_eof?
[RW]ignore_sigint
[RW]ignore_sigint?
[R]inspect_mode
[RW]io
[RW]irb
[RW]irb_name
[RW]irb_path
[R]last_value
[RW]load_modules
[RW]prompt_c
[RW]prompt_i
[R]prompt_mode
[RW]prompt_n
[RW]prompt_s
[RW]rc
[RW]rc?
[RW]return_format
[R]thread
[R]use_readline
[R]use_readline?
[R]use_tracer
[R]use_tracer?
[RW]verbose
[RW]workspace
[R]workspace_home

Files

  • lib/irb/context.rb
  • lib/irb/ext/change-ws.rb
  • lib/irb/ext/history.rb
  • lib/irb/ext/save-history.rb
  • lib/irb/ext/tracer.rb
  • lib/irb/ext/use-loader.rb
  • lib/irb/ext/workspaces.rb