Skip to main content
added 121 characters in body
Source Link

Ruby, 23 1818 17 bytes

->s{[*' '..?~]-s.chars} 

Uses a lambda function as per @sethrin's comments.

Previous (readable) versionversions:

[*' '..?~]-s.chars (' '..'~').to_a-s.chars 

Ruby, 23 18 bytes

[*' '..?~]-s.chars 

Previous (readable) version:

(' '..'~').to_a-s.chars 

Ruby, 23 18 17 bytes

->s{[*' '..?~]-s} 

Uses a lambda function as per @sethrin's comments.

Previous versions:

[*' '..?~]-s.chars (' '..'~').to_a-s.chars 
added 78 characters in body
Source Link

Ruby, 2323 18 bytes

[*' '..?~]-s.chars 

Previous (readable) version:

(' '..'~').to_a-s.chars 

Ruby, 23 bytes

(' '..'~').to_a-s.chars 

Ruby, 23 18 bytes

[*' '..?~]-s.chars 

Previous (readable) version:

(' '..'~').to_a-s.chars 
Source Link

Ruby, 23 bytes

(' '..'~').to_a-s.chars