Skip to content

Instantly share code, notes, and snippets.

@gerrywastaken
Last active May 18, 2018 01:39
Show Gist options
  • Save gerrywastaken/70df87e69f0e9e0acb31419bb07d00b6 to your computer and use it in GitHub Desktop.
Save gerrywastaken/70df87e69f0e9e0acb31419bb07d00b6 to your computer and use it in GitHub Desktop.
class Object
def |
yield(self)
end
end
'./public/webpack/manifest.json'
.|(&File.method(:read))
.|(&JSON.method(:parse))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment