-
-
Save nuke99/a52adb2cfc36379cc869 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'singleton' | |
require 'pp' | |
class HelpSet | |
include Singleton | |
attr_accessor :info | |
def initialize | |
self.info = {} | |
end | |
def set(command,type,discription) | |
@info[command] = {:disc=>discription,:type=>type} | |
pp @info | |
puts "=============================================" | |
end | |
def onit | |
return @info | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment