ruby/lib/irb/helper_method/conf.rb

11 lines
182 B
Ruby

module IRB
module HelperMethod
class Conf < Base
description "Returns the current IRB context."
def execute
IRB.CurrentContext
end
end
end
end