Created
February 25, 2016 11:40
-
-
Save t-cyrill/dc1297e41da9d2cab25d 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
class Dir | |
class << self | |
alias_method :orig, :[] | |
end | |
def self.[](pattern) | |
binding.pry | |
self.orig(pattern) | |
end | |
end | |
class ::ActionView::Resolver | |
class << self | |
alias_method :orig, :caching | |
end | |
def self.caching=(val) | |
binding.pry | |
orig(val) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment