{"action":"created","issue":{"url":"https://api.github.com/repos/Shoes3/shoes3/issues/49","labels_url":"https://api.github.com/repos/Shoes3/shoes3/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Shoes3/shoes3/issues/49/comments","events_url":"https://api.github.com/repos/Shoes3/shoes3/issues/49/events","html_url":"https://github.com/Shoes3/shoes3/issues/49","id":55705736,"number":49,"title":"Para does not handle array and hash properly","user":{"login":"BackOrder","id":8844578,"avatar_url":"https://avatars.githubusercontent.com/u/8844578?v=3","gravatar_id":"","url":"https://api.github.com/users/BackOrder","html_url":"https://github.com/BackOrder","followers_url":"https://api.github.com/users/BackOrder/followers","following_url":"https://api.github.com/users/BackOrder/following{/other_user}","gists_url":"https://api.github.com/users/BackOrder/gists{/gist_id}","starred_url":"https://api.github.com/users/BackOrder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BackOrder/subscriptions","organizations_url":"https://api.github.com/users/BackOrder/orgs","repos_url":"https://api.github.com/users/BackOrder/repos","events_url":"https://api.github.com/users/BackOrder/events{/privacy}","received_events_url":"https://api.github.com/users/BackOrder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Shoes3/shoes3/labels/Low","name":"Low","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-28T02:29:57Z","updated_at":"2015-01-28T07:03:10Z","closed_at":null,"body":"Shoes has a strange way to interpret values at runtime. **The reasonable expectation is that values should be changed in the order they are changed in the code.** See the example below to get a better idea of the issue. This issue does not affect MacOS X — the size of the array Shoes::FONTS are respectively 492, 492 and 493 when tested with a slightly modified version of the code below.\r\n\r\n**TEST**\r\n```ruby\r\nShoes.app {\r\n   para Shoes::FONTS\r\n   para \"\\n\"\r\n   para \"#{Shoes::FONTS}\\n\"\r\n   font \"#{DIR}/fonts/Lacuna.ttf\"\r\n   para \"#{Shoes::FONTS}\\n\"\r\n}\r\n```\r\n\r\n**EXPECTED RESULT** the first *Shoes::FONTS* should be empty.\r\n\r\n**ACTUAL RESULT**\r\n```\r\nLacuna Regular\r\n[]\r\n[\"Lacuna Regular\"]\r\n```"},"comment":{"url":"https://api.github.com/repos/Shoes3/shoes3/issues/comments/71790138","html_url":"https://github.com/Shoes3/shoes3/issues/49#issuecomment-71790138","issue_url":"https://api.github.com/repos/Shoes3/shoes3/issues/49","id":71790138,"user":{"login":"ccoupe","id":222691,"avatar_url":"https://avatars.githubusercontent.com/u/222691?v=3","gravatar_id":"","url":"https://api.github.com/users/ccoupe","html_url":"https://github.com/ccoupe","followers_url":"https://api.github.com/users/ccoupe/followers","following_url":"https://api.github.com/users/ccoupe/following{/other_user}","gists_url":"https://api.github.com/users/ccoupe/gists{/gist_id}","starred_url":"https://api.github.com/users/ccoupe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccoupe/subscriptions","organizations_url":"https://api.github.com/users/ccoupe/orgs","repos_url":"https://api.github.com/users/ccoupe/repos","events_url":"https://api.github.com/users/ccoupe/events{/privacy}","received_events_url":"https://api.github.com/users/ccoupe/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T07:03:10Z","updated_at":"2015-01-28T07:03:10Z","body":"Not difficult at all. \r\n\r\nIf it helps: \"Para is not puts and puts is not printf()\".  You get an array or a hash from where ever (a yaml file or Shoes::FONTS or download.headers. You know textblock wants a string with optional styles. \r\n\r\nYour irb script needs to much more expert.\r\n\r\nYou might not know that Shoes textblock creates  (I think) a new segment when it sees  \"\\n\" and that effects what you see in stacks and flows layout"}}