Skip to content

Instantly share code, notes, and snippets.

@pzaich
Created June 15, 2012 20:03
Show Gist options
  • Select an option

  • Save pzaich/2938462 to your computer and use it in GitHub Desktop.

Select an option

Save pzaich/2938462 to your computer and use it in GitHub Desktop.
dictionary
class Dictionary
def initialize
@dictionary_entries = {}
end
def entries
@dictionary_entries
end
def add(new_entry)
@entries.merge!(new_entry)
end
def keywords
end
def find
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment