Created
July 13, 2018 10:37
-
-
Save vivus-ignis/d42515115bbef79599ef356b6ba77096 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
Error in src/gist-scout.cr:23: undefined method 'main' for Gist::Scout:Module | |
Gist::Scout.main | |
[32;1m^~~~[0m | |
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 "./gist-scout/*" | |
require "option_parser" | |
module Gist::Scout | |
# creates a config dir, initialize sqlite db if not exists, | |
# returns db filedes | |
def init_db(config_dir_path) | |
end | |
# returns a list of unseen (not in db) gist ids | |
def update_cache(github_username, db_filedes) | |
end | |
# returns gist text | |
def get_gist_contents(github_username, gist_id) | |
end | |
def main | |
puts "In main" | |
end | |
end | |
Gist::Scout.main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment