diff options
Diffstat (limited to 'lib/irb/helper_method/conf.rb')
-rw-r--r-- | lib/irb/helper_method/conf.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/irb/helper_method/conf.rb b/lib/irb/helper_method/conf.rb new file mode 100644 index 0000000000..718ed279c0 --- /dev/null +++ b/lib/irb/helper_method/conf.rb @@ -0,0 +1,11 @@ +module IRB + module HelperMethod + class Conf < Base + description "Returns the current IRB context." + + def execute + IRB.CurrentContext + end + end + end +end |