Skip to content

Instantly share code, notes, and snippets.

@ipmsteven
Created November 1, 2014 00:10
Show Gist options
  • Select an option

  • Save ipmsteven/801366e8f1e83dbacbb2 to your computer and use it in GitHub Desktop.

Select an option

Save ipmsteven/801366e8f1e83dbacbb2 to your computer and use it in GitHub Desktop.
print autoload object name
module ModulePrepend
def autoload(*args)
puts args.inspect
super
end
end
class Module
prepend ModulePrepend
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment