Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 28, 2018 17:13
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 Whateverable/49ade66e5ef99e603ca967d68d53f6b0 to your computer and use it in GitHub Desktop.
Save Whateverable/49ade66e5ef99e603ca967d68d53f6b0 to your computer and use it in GitHub Desktop.
evalable6
given DateTimew.now { say DateTime.new(.later(:1day)-$_).hh-mm-ss
(exit code 1)
===SORRY!=== Error while compiling /tmp/bhWVSLxhbq
Missing block
at /tmp/bhWVSLxhbq:1
------> DateTime.new(.later(:1day)-$_).hh-mm-ss⏏<EOL>
expecting any of:
postfix
statement end
statement modifier
statement modifier loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment