17 Oct '15, 9am

Why is this ruby script printing this and not this?

For fun i've been working on making a bank script. The current version is supposed to ask for an account and then put the value of the account. but the only thing it does is print an error message. account0 = 151243 account1 = 54645 account2 = 423 account3 = 1 account4 = 9535 puts "Which account do you want to view?" getacc = gets.chomp puts "Getting Account #{getacc}" if getacc == 1 puts "#{account0}" elsif getacc == 2 puts "#{account1}" elsif getacc==3 puts "#{account2}" elsif getacc == 4 puts "#{account3}" elsif getacc == 5 puts "#{account4}" else puts "Error 1 Account not found" end im still learning ruby so it may just be a simple error in my code. Thanks!

Full article: http://stackoverflow.com/questions/33184845/why-is-this-r...

Tweets

Script SEO : Détection du contenu dupliqué avec...

secrets2moteurs.com 14 Oct '15, 4pm

Les solutions logicielles ou saas permettant de détecter le contenu dupliqué sur un site web sont, soit un peu trop opaque...

Thor: Ragnarok has Marvel’s darkest script yet

Thor: Ragnarok has Marvel’s darkest script yet

sg.movies.yahoo.com 16 Oct '15, 5am

It looks as though Thor’s dark world is about to get even darker… as ‘Thor: Ragnarok’ is said to be Marvel’s darkest scrip...

3D Printing a Functional Steel Bridge - Product Design & Development

3D Printing a Functional Steel Bridge - Product...

pddnet.com 17 Oct '15, 2am

Standard 3D printing technology is confined within a build platform’s parameters, often limiting the size of printable obj...

Ruby on Rails Developer / Operations

denver.jobing.com 16 Oct '15, 4am

Location: Broomfield, CO Date Posted: Monday, October 12, 2015 Experience: 6 years Job Type: Temp to Perm Reference #: 421...

Using Ruby for Mobile App Testing

Using Ruby for Mobile App Testing

testdroid.com 14 Oct '15, 10am

Appium Tip #5: Ready to Rumble with Ruby? By: Lasse Häll @Domestus111 12 Oct 2015 We’re back with a new blog in our 37 Thi...

"3D Printing in End-Production: What's It Gonna...

designnews.com 16 Oct '15, 9pm

3D printing and additive manufacturing (AM) won’t be replacing high-volume mass manufacturing anytime soon. But no one rea...

Nike just got a new patent for 3D printing snea...

solecollector.com 15 Oct '15, 6pm

Nike COO Eric Sprunk's exciting prediction on the future of 3D printing your sneakers at home is already one step closer t...

SEO, Engineering, Ruby on Rails, Website Manage...

freelancer.com 18 Oct '15, 3pm

Skills Required Engineering Internet Marketing Ruby on Rails SEO Website Management Project Budget $1500 - $3000 USD Total...

Calcul de similarité avec Ruby #script #seo :

Calcul de similarité avec Ruby #script #seo :

antoine-brisset.com 14 Oct '15, 8am

Les solutions logicielles ou saas permettant de détecter le contenu dupliqué sur un site web sont, soit un peu trop opaque...

Ruby on Rails Developer / Operations

denver.jobing.com 13 Oct '15, 1pm

Location: Broomfield, CO Date Posted: Monday, October 12, 2015 Experience: 6 years Job Type: Temp to Perm Reference #: 421...

[Developers.IO] [Ruby on Rails]AdminLTEのログインテンプレートを使用してみる

[Developers.IO] [Ruby on Rails]AdminLTEのログインテンプ...

dev.classmethod.jp 14 Oct '15, 11pm

<!DOCTYPE html> <html> (中略) <body class="hold-transition login-page"> <div class="login-box"> <div class="login-logo"> <a ...

Ruby's ARGF

robots.thoughtbot.com 13 Oct '15, 12am

Many Unix utilities accept input both in the form of filenames passed as command-line arguments and as data sent to the pr...

Start 3D Printing Your Gown Now: The Theme for ...

justluxe.com 13 Oct '15, 11pm

Next year’s Met Gala will get a fashionably high-tech makeover. Today the Metropolitan Museum of Art announced that the 20...