Skip to content

Instantly share code, notes, and snippets.

@joho
Created February 2, 2016 22:51
Show Gist options
  • Save joho/647892c0aa1793afeca9 to your computer and use it in GitHub Desktop.
Save joho/647892c0aa1793afeca9 to your computer and use it in GitHub Desktop.
For @quamen who keeps putting his js in his rubby
module Kernel
class FakeConsole
def log(o)
puts "not javascript lol, but here you go #{p}"
end
end
def console
FakeConsole.new
end
end
@DanielHeath
Copy link

log(*p), right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment