Skip to content

Instantly share code, notes, and snippets.

@asaaki
Created May 28, 2019 16:51
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 asaaki/b9aeafde0dc8e5f59245c03317b358ac to your computer and use it in GitHub Desktop.
Save asaaki/b9aeafde0dc8e5f59245c03317b358ac to your computer and use it in GitHub Desktop.
ruby-sigils.rb
[*('A'..'Z'), *('a'..'z')].map do |c|
puts [c, eval("%#{c}(ls)")].inspect
rescue Exception
puts "#{c} not allowed"
end; 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment