Created
January 31, 2016 19:46
-
-
Save KamilLelonek/4e7264a4d5c0360f119a to your computer and use it in GitHub Desktop.
Default FileFriter in Ruby
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 DefaultFileWriter | |
def write(path, contents) | |
IO.write(path, contents) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment