summaryrefslogtreecommitdiff
path: root/lib/irb/helper_method/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/helper_method/base.rb')
-rw-r--r--lib/irb/helper_method/base.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/irb/helper_method/base.rb b/lib/irb/helper_method/base.rb
new file mode 100644
index 0000000000..a68001ed28
--- /dev/null
+++ b/lib/irb/helper_method/base.rb
@@ -0,0 +1,16 @@
+require "singleton"
+
+module IRB
+ module HelperMethod
+ class Base
+ include Singleton
+
+ class << self
+ def description(description = nil)
+ @description = description if description
+ @description
+ end
+ end
+ end
+ end
+end