<center>https://www.jewelinfo4u.com/wp-content/uploads/2016/03/ruby-on-rails-steams-critical-security-patch-1.jpg</center> I have been spending some time here and there learning Ruby on <a href="https://www.codecademy.com">Codeacedemy. </a>Currently, I am on the Hashes and Symbols section. ![Screenshot.png](https://steemitimages.com/DQmdJ3BNbTN7oKkWmBU187vAv85X1TkQdNASvBfLfuLah86/Screenshot.png) Just having some fun and wrote up a little easy script from the example on the site. #### Code: ``` steemians = { bitcoinparadise: 65, fyrstikken: 72, seablue: 61 } puts "What would you like to do?" puts "-- Type 'add' to add a steemian." puts "-- Type 'update' to update a steemian." puts "-- Type 'display' to display all steemians." puts "-- Type 'delete' to delete a steemian." choice = gets.chomp.downcase case choice when 'add' puts "What steemian do you want to add?" name = gets.chomp if steemians[name.to_sym].nil? puts "What's their rep? (Type a number 0 to 99.)" rep = gets.chomp steemians[name.to_sym] = rep.to_i puts "#{name} has been added with a rep of #{rep}." else puts "That steemian already exists! Their rep is #{steemians [name.to_sym]}." end when 'update' puts "What steemian do you want to update?" name = gets.chomp if steemians[name.to_sym].nil? puts "Steemian not found!" else puts "What's the new rep?(Type a number 0 to 99.)" rep = gets.chomp steemians[name.to_sym] = rep.to_i puts "#{name} has been updated with new rep of #{rep}." end when 'display' steemians.each do |steemian, rep| puts "#{steemian}: #{rep}" end when 'delete' puts "What steemian do you want to delete?" name = gets.chomp if steemians[name.to_sym].nil? puts "Steemian not found!" else steemians.delete(name.to_sym) puts "#{name} has been removed." end else puts "Sorry, I didn't understand you." end ``` <br> Here's a little gif of what the script does: <center>https://media.giphy.com/media/DISiRWw4vgC1W/giphy.gif</center> It's not much but I'm still learning and understanding a bit more. I wish I could take more time out of my day to keep at it and be a better coder someday but life has got me busy with a lot these days. I am amazed by those that know a ton of different programming languages. I only wished I had learned more when I was younger. # About Ruby Created by **Yukihiro βMatzβ Matsumoto**, he took some of his favorite languages(Perl, Smalltalk, Eiffel, Ada, and Lisp) to form Ruby. Matsumoto has often said he is: > βtrying to make Ruby natural, not simple,β in a way that mirrors life. > > Ruby is simple in appearance, but is very complex inside, just like our human body. Released in 1995, only recently reached mass acceptance in 2006 and is in the top 10 on most of the indices that measure the growth and popularity of programming languages worldwide. Ruby is free to use, copy, modify, and distribute. https://www.ruby-lang.org <br> <br> *Image <a href="https://www.jewelinfo4u.com/ruby-facts-and-buying-guide">Source</a>* --- <center>Thank you for taking the time to read my post. </center> <center>Feel free to follow and find me in <a href="http://steemspeak.com">SteemSpeak</a> on Discord.</center> <div class="pull-left"> <a href="https://steemit.com/@bitcoinparadise"rel="noopener"><img src="https://steemitimages.com/DQmQv7vvUEUTyqTNYdFH3Cp4zS3CKFBcVhwTpkKEeUanGsF/btcfollow1.png"> </a></div> <div class="pull-right"><a href="http://steemspeak.com"><img src="https://steemitimages.com/DQmc32tdyksdwbPd8KoAqdijRPrrB51UfJjN2kDU3z7zGCv/steemspeak.png"></a></div>
post_id | 9,850,041 |
---|---|
author | bitcoinparadise |
permlink | continuing-to-learn-some-ruby |
category | programming |
json_metadata | {"image":["https:\/\/www.jewelinfo4u.com\/wp-content\/uploads\/2016\/03\/ruby-on-rails-steams-critical-security-patch-1.jpg"],"app":"steemit\/0.1","links":["https:\/\/www.codecademy.com","https:\/\/www.ruby-lang.org","https:\/\/www.jewelinfo4u.com\/ruby-facts-and-buying-guide","http:\/\/steemspeak.com","https:\/\/steemit.com\/@bitcoinparadise"],"tags":["programming","coding","learning","ruby","development"],"format":"markdown"} |
created | 2017-08-11 10:52:18 |
last_update | 2018-11-12 23:18:15 |
depth | 0 |
children | 9 |
net_rshares | 1,582,400,769,585 |
last_payout | 2017-08-18 10:52:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 4.303 SBD |
curator_payout_value | 1.139 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 3,612 |
author_reputation | 52,885,100,418,823 |
root_title | "Continuing to Learn Some Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
teamsteem | 0 | 185,025,406,607 | 1% | ||
inertia | 0 | 1,029,060,850,980 | 100% | ||
letc | 0 | 426,171,325 | 10% | ||
warofcraft | 0 | 0 | 20% | ||
dgarsan | 0 | 11,401,915,459 | 100% | ||
jsantana | 0 | 15,580,995,062 | 30% | ||
hilarski | 0 | 55,280,431,090 | 10% | ||
runridefly | 0 | 14,015,013,427 | 3% | ||
sunscape | 0 | 19,218,718,461 | 20% | ||
crowdfundedwhale | 0 | 44,874,532,232 | 12% | ||
steemprentice | 0 | 25,846,204,229 | 10% | ||
darth-azrael | 0 | 4,030,975,539 | 13% | ||
kouhei-gahaku | 0 | 22,802,224,946 | 100% | ||
darth-cryptic | 0 | 725,341,355 | 13% | ||
oneshot | 0 | 4,641,797,246 | 100% | ||
epicdesigns | 0 | 28,816,238,112 | 100% | ||
islandliving | 0 | 9,128,020,399 | 100% | ||
mrviquez | 0 | 94,381,474,987 | 90% | ||
birjudanak | 0 | 971,851,595 | 25% | ||
khairulmuammar | 0 | 371,922,455 | 100% | ||
duckmast3r | 0 | 1,138,050,693 | 0.95% | ||
ghaaspur | 0 | 7,569,851,288 | 100% | ||
donjaun | 0 | 568,698,318 | 100% | ||
karencarrens | 0 | 5,712,388,431 | 100% | ||
savana | 0 | 513,058,517 | 100% | ||
ratticus | 0 | 0 | 10% | ||
rumollah | 0 | 133,463,155 | 100% | ||
sandrajordan483 | 0 | 165,173,677 | 100% | ||
ilovecoding | 0 | 0 | 10% |
Interesting that so much time passed from its release its adoption. Who else uses Ruby to code off Steem's blockchain. Is there an example of what Ruby was used for? There's so much development going on, I still haven't wrapped my head around the development side of Steem.
post_id | 9,916,779 |
---|---|
author | karencarrens |
permlink | re-bitcoinparadise-continuing-to-learn-some-ruby-20170812t035039653z |
category | programming |
json_metadata | "{"app": "steemit/0.1", "tags": ["programming"]}" |
created | 2017-08-12 03:50:39 |
last_update | 2017-08-12 03:50:39 |
depth | 1 |
children | 2 |
net_rshares | 9,393,489,018 |
last_payout | 2017-08-19 03:50:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.023 SBD |
curator_payout_value | 0.006 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 274 |
author_reputation | 5,181,368,069,850 |
root_title | "Continuing to Learn Some Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bitcoinparadise | 0 | 9,393,489,018 | 30% |
There's a lot to the development side that I'm still learning. As far as examples of what ruby is used for, @inertia is a great programmer in this language. You can check out his app catalog here: https://steemit.com/radiator/@inertia/my-app-catalog
post_id | 9,931,265 |
---|---|
author | bitcoinparadise |
permlink | re-karencarrens-re-bitcoinparadise-continuing-to-learn-some-ruby-20170812t085525409z |
category | programming |
json_metadata | "{"app": "steemit/0.1", "users": ["inertia"], "links": ["https://steemit.com/radiator/@inertia/my-app-catalog"], "tags": ["programming"]}" |
created | 2017-08-12 08:55:27 |
last_update | 2017-08-12 08:55:27 |
depth | 2 |
children | 1 |
net_rshares | 0 |
last_payout | 2017-08-19 08:55:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 249 |
author_reputation | 52,885,100,418,823 |
root_title | "Continuing to Learn Some Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
Thanks, this is exactly what I was needing.
post_id | 9,956,925 | ||||||
---|---|---|---|---|---|---|---|
author | karencarrens | ||||||
permlink | re-bitcoinparadise-2017812t105131514z | ||||||
category | programming | ||||||
json_metadata | "{"app": "esteem/1.4.6", "format": "markdown+html", "community": "esteem", "tags": "programming"}" | ||||||
created | 2017-08-12 15:51:30 | ||||||
last_update | 2017-08-12 15:51:30 | ||||||
depth | 3 | ||||||
children | 0 | ||||||
net_rshares | 0 | ||||||
last_payout | 2017-08-19 15:51:30 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 SBD | ||||||
curator_payout_value | 0.000 SBD | ||||||
pending_payout_value | 0.000 SBD | ||||||
promoted | 0.000 SBD | ||||||
body_length | 43 | ||||||
author_reputation | 5,181,368,069,850 | ||||||
root_title | "Continuing to Learn Some Ruby" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 SBD | ||||||
percent_steem_dollars | 10,000 |
very good information, thank you mr. @bitcoinparadise
post_id | 9,995,392 |
---|---|
author | khairulmuammar |
permlink | re-bitcoinparadise-continuing-to-learn-some-ruby-20170813t032835925z |
category | programming |
json_metadata | "{"app": "steemit/0.1", "users": ["bitcoinparadise"], "tags": ["programming"]}" |
created | 2017-08-13 03:28:36 |
last_update | 2017-08-13 03:28:36 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2017-08-20 03:28:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 53 |
author_reputation | 39,405,383,233,632 |
root_title | "Continuing to Learn Some Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
Professional and experienced rubyist here! Feel free to ask me questions if you want help. Keep up the good work and I hope you enjoy what you are learning.
post_id | 10,251,441 |
---|---|
author | sophiedeziel |
permlink | re-bitcoinparadise-continuing-to-learn-some-ruby-20170816t043148080z |
category | programming |
json_metadata | "{"app": "steemit/0.1", "tags": ["programming"]}" |
created | 2017-08-16 04:31:48 |
last_update | 2017-08-16 04:31:48 |
depth | 1 |
children | 2 |
net_rshares | 8,598,669,543 |
last_payout | 2017-08-23 04:31:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.025 SBD |
curator_payout_value | 0.003 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 156 |
author_reputation | 17,201,073,656 |
root_title | "Continuing to Learn Some Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bitcoinparadise | 0 | 8,598,669,543 | 30% |
That's awesome! I would recommend following @inertia, he's a very experienced rubyist as well. I will definitely ask you some questions! Thank you for your comment and I am very much enjoying learning this language :)
post_id | 10,252,590 |
---|---|
author | bitcoinparadise |
permlink | re-sophiedeziel-re-bitcoinparadise-continuing-to-learn-some-ruby-20170816t045256241z |
category | programming |
json_metadata | "{"app": "steemit/0.1", "users": ["inertia"], "tags": ["programming"]}" |
created | 2017-08-16 04:52:57 |
last_update | 2017-08-16 04:52:57 |
depth | 2 |
children | 1 |
net_rshares | 644,140,552 |
last_payout | 2017-08-23 04:52:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 217 |
author_reputation | 52,885,100,418,823 |
root_title | "Continuing to Learn Some Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sophiedeziel | 0 | 644,140,552 | 100% |
I already follow @inertia! We're not a lot yet on Steemit, but I guess it's a matter of time :)
post_id | 10,254,792 |
---|---|
author | sophiedeziel |
permlink | re-bitcoinparadise-re-sophiedeziel-re-bitcoinparadise-continuing-to-learn-some-ruby-20170816t053336014z |
category | programming |
json_metadata | "{"app": "steemit/0.1", "users": ["inertia"], "tags": ["programming"]}" |
created | 2017-08-16 05:33:36 |
last_update | 2017-08-16 05:33:36 |
depth | 3 |
children | 0 |
net_rshares | 6,501,677,260 |
last_payout | 2017-08-23 05:33:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.016 SBD |
curator_payout_value | 0.004 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 95 |
author_reputation | 17,201,073,656 |
root_title | "Continuing to Learn Some Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bitcoinparadise | 0 | 6,501,677,260 | 20% |
Great example. It's more than I can do :-)
post_id | 10,399,670 | ||||||
---|---|---|---|---|---|---|---|
author | ghaaspur | ||||||
permlink | re-bitcoinparadise-2017817t213634457z | ||||||
category | programming | ||||||
json_metadata | "{"app": "esteem/1.4.7", "format": "markdown+html", "community": "esteem", "tags": "programming"}" | ||||||
created | 2017-08-17 19:36:36 | ||||||
last_update | 2017-08-17 19:36:36 | ||||||
depth | 1 | ||||||
children | 0 | ||||||
net_rshares | 0 | ||||||
last_payout | 2017-08-24 19:36:36 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 SBD | ||||||
curator_payout_value | 0.000 SBD | ||||||
pending_payout_value | 0.000 SBD | ||||||
promoted | 0.000 SBD | ||||||
body_length | 42 | ||||||
author_reputation | 271,922,061,735 | ||||||
root_title | "Continuing to Learn Some Ruby" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 SBD | ||||||
percent_steem_dollars | 10,000 |
Hello! Your post has been resteemed and upvoted by @ilovecoding because **we love coding**! Keep up good work! Consider upvoting this comment to support the @ilovecoding and increase your future rewards! ^_^ Steem On! ![](https://codingforspeed.com/images/i-love-coding.jpg) *Reply !stop to disable the comment. Thanks!*
post_id | 65,934,275 |
---|---|
author | ilovecoding |
permlink | 20181112t231830511z |
category | programming |
json_metadata | {"app":"ilovecoding","tags":["ilovecoding"]} |
created | 2018-11-12 23:18:30 |
last_update | 2018-11-12 23:18:30 |
depth | 1 |
children | 0 |
net_rshares | 398,170,270 |
last_payout | 2018-11-19 23:18:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 323 |
author_reputation | 40,842,386,526 |
root_title | "Continuing to Learn Some Ruby" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
ilovecoding | 0 | 398,170,270 | 5% |