Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2015
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb toto dorothy tinman
  2. Your first variable is: toto
  3. Your second variable is: dorothy
  4. Your third variable is: tinman
  5. MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb toto dorothy
  6. Your first variable is: toto
  7. Your second variable is: dorothy
  8. Your third variable is:
  9. MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb toto dorothy tinman
  10. Your first variable is: toto
  11. Your second variable is: dorothy
  12. Your third variable is: tinman
  13. Your final variable is the most exciting. Tell me what it is:
  14. ex13.rb:8:in `gets': No such file or directory @ rb_sysopen - toto (Errno::ENOENT)
  15. from ex13.rb:8:in `gets'
  16. from ex13.rb:8:in `<main>'
  17. MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb toto dorothy tinman
  18. Your first variable is: toto
  19. Your second variable is: dorothy
  20. Your third variable is: tinman
  21. Your final variable is the most exciting. Tell me what it is:
  22. ex13.rb:8:in `gets': No such file or directory @ rb_sysopen - toto (Errno::ENOENT)
  23. from ex13.rb:8:in `gets'
  24. from ex13.rb:8:in `<main>'
  25. MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb
  26. Your first variable is:
  27. Your second variable is:
  28. Your third variable is:
  29. Your final variable is the most exciting. Tell me what it is:
  30. scarecrow
  31. Nice, scarecrow is a great variable choice.
  32. MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb
  33. Your first variable is:
  34. Your second variable is:
  35. Your third variable is:
  36. Your final variable is the most exciting. Tell me what it is:
  37. very good
  38. Nice, very good is a great variable choice.
  39. MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb one two three
  40. Your first variable is: one
  41. Your second variable is: two
  42. Your third variable is: three
  43. Your final variable is the most exciting. Tell me what it is:
  44. ex13.rb:8:in `gets': No such file or directory @ rb_sysopen - one (Errno::ENOENT)
  45. from ex13.rb:8:in `gets'
  46. from ex13.rb:8:in `<main>'
  47. MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb one,two,three
  48. Your first variable is: one,two,three
  49. Your second variable is:
  50. Your third variable is:
  51. Your final variable is the most exciting. Tell me what it is:
  52. ex13.rb:8:in `gets': No such file or directory @ rb_sysopen - one,two,three (Errno::ENOENT)
  53. from ex13.rb:8:in `gets'
  54. from ex13.rb:8:in `<main>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement