Skip to content

Instantly share code, notes, and snippets.

@Thomascountz
Created June 9, 2022 13:01
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 Thomascountz/14e46f1538c4367f4b56bfffeef318f9 to your computer and use it in GitHub Desktop.
Save Thomascountz/14e46f1538c4367f4b56bfffeef318f9 to your computer and use it in GitHub Desktop.
class Dictionary
def self.search_danish(word)
new(:da).search(word)
end
def initialize(language)
@language = language
end
def search(word)
# query for word using @language
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment