Skip to content

Instantly share code, notes, and snippets.

@adambeynon
Created October 7, 2013 16:38
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 adambeynon/6870979 to your computer and use it in GitHub Desktop.
Save adambeynon/6870979 to your computer and use it in GitHub Desktop.
Info
/*
class Foo
# some method to handle bananas
def do_it
42
end
def and_this
do_it
end
end
*/
var example_json = {
methods: {
"Foo#do_it": "def do_it\n 42\nend",
"Foo#and_this": "def and_this\n do_it\nend"
},
comments: {
"Foo#do_it": "some method to handle bananas"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment