Skip to content

Instantly share code, notes, and snippets.

@jhawthorn
Created September 28, 2019 19:16
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 jhawthorn/23fcd8caaac98cdffc8af63c0bbb1775 to your computer and use it in GitHub Desktop.
Save jhawthorn/23fcd8caaac98cdffc8af63c0bbb1775 to your computer and use it in GitHub Desktop.
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