When I do this
keypress do |k| para"#{k.inspect}" end
everything always has a speech mark before and after eg:"h" "e" "l" "l" "o"
Why? And how do I stop that?
3 responses
-
doesent work NOOOOOOO!
-
I don't know why, but you could remove the
"with gsub:Shoes.app do keypress do |k| para k.inspect.gsub('"', "") end end -
i believe this has to do with the
inspectmethod, which places things in quotes...try this to see the keypresses without quotes:
keypress do |k| para k end
- j