Created
September 28, 2019 19:16
-
-
Save jhawthorn/23fcd8caaac98cdffc8af63c0bbb1775 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 NullFileUpdateChecker | |
def initialize(files, dirs, &block) | |
@block = block | |
end | |
def execute | |
@block.call | |
end | |
def updated? | |
false | |
end | |
def execute_if_updated | |
false | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment