# show code snippet via gist.github.com # # usage: # gist(gist_id) # - gist_id: The id of the code snippet on gitst.github.com (e.g. 2056 for http://gist.github.com/2056) # # Copyright (c) KAKUTANI Shintaro # Distributed under the GPL def gist( gist_id ) gist_snippet_url = "http://gist.github.com/#{gist_id}" return (<<-EOS).chomp
EOS end