{"id":260,"date":"2009-07-28T13:57:29","date_gmt":"2009-07-28T12:57:29","guid":{"rendered":"http:\/\/www.codingfriends.com\/?p=260"},"modified":"2009-07-28T13:57:29","modified_gmt":"2009-07-28T12:57:29","slug":"hello-world-ruby-style","status":"publish","type":"post","link":"https:\/\/www.codingfriends.com\/index.php\/2009\/07\/28\/hello-world-ruby-style\/","title":{"rendered":"Hello world Ruby style"},"content":{"rendered":"<p>To get Ruby <a href=\"http:\/\/www.rubyonrails.org\/down\" title=\"http:\/\/www.rubyonrails.org\/down\" target=\"_blank\"Ruby On Rails<\/a>.  Ruby is a development environment that is similar to other Object Oriented (OO) languages, but it is designed to be developed in quickly with a stable environment.  Ruby can be used to create GUI&#8217;s to websites very quickly.<\/p>\n<p>This first source code is the very basic Hello word!.<\/p>\n<p>If you save this code <\/p>\n<pre lang=\"ruby\">\r\nputs \"Hello World\";\r\n<\/pre>\n<p>as rubyhelloworld.rb<\/p>\n<p>The file extension rb just stands for Ruby.  To run the code from the command line, where you have saved the file above<\/p>\n<pre class=\"consoleoutput\">\r\nruby rubyhelloworld.rb\r\n<\/pre>\n<p>and the output will be<\/p>\n<pre class=\"consoleoutput\">\r\nHello World\r\n<\/pre>\n<p>Hope that helps people.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To get Ruby<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[8,398,404,400],"class_list":["post-260","post","type-post","status-publish","format-standard","hentry","category-ruby","tag-gnu","tag-linux","tag-ruby","tag-windows"],"_links":{"self":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/comments?post=260"}],"version-history":[{"count":1,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/260\/revisions"}],"predecessor-version":[{"id":261,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/260\/revisions\/261"}],"wp:attachment":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/media?parent=260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/categories?post=260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/tags?post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}