Skip to content

Instantly share code, notes, and snippets.

@zyriuse75
Created September 28, 2017 15:37
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 zyriuse75/eccbd6a6128f666c0d478227eb80d662 to your computer and use it in GitHub Desktop.
Save zyriuse75/eccbd6a6128f666c0d478227eb80d662 to your computer and use it in GitHub Desktop.
icr(0.23.1) > files = Dir["*"]
=> ["spec", "README.md", "demo", "CHANGELOG.md", "Makefile", "shard.yml", ".travis.yml", ".gitignore", ".icr__rDi8kbnh46tPcYgUcrK1A.cr", "src", "bin", "LGPL-LICENSE.txt", ".git"]
icr(0.23.1) > files.each |x|
icr(0.23.1) > puts x
undefined local variable or method 'x' (did you mean 'p'?)
files.each |x|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment