Skip to content

Instantly share code, notes, and snippets.

@nuke99
Created May 23, 2012 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuke99/a52adb2cfc36379cc869 to your computer and use it in GitHub Desktop.
Save nuke99/a52adb2cfc36379cc869 to your computer and use it in GitHub Desktop.
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