Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb toto dorothy tinman
- Your first variable is: toto
- Your second variable is: dorothy
- Your third variable is: tinman
- MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb toto dorothy
- Your first variable is: toto
- Your second variable is: dorothy
- Your third variable is:
- MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb toto dorothy tinman
- Your first variable is: toto
- Your second variable is: dorothy
- Your third variable is: tinman
- Your final variable is the most exciting. Tell me what it is:
- ex13.rb:8:in `gets': No such file or directory @ rb_sysopen - toto (Errno::ENOENT)
- from ex13.rb:8:in `gets'
- from ex13.rb:8:in `<main>'
- MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb toto dorothy tinman
- Your first variable is: toto
- Your second variable is: dorothy
- Your third variable is: tinman
- Your final variable is the most exciting. Tell me what it is:
- ex13.rb:8:in `gets': No such file or directory @ rb_sysopen - toto (Errno::ENOENT)
- from ex13.rb:8:in `gets'
- from ex13.rb:8:in `<main>'
- MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb
- Your first variable is:
- Your second variable is:
- Your third variable is:
- Your final variable is the most exciting. Tell me what it is:
- scarecrow
- Nice, scarecrow is a great variable choice.
- MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb
- Your first variable is:
- Your second variable is:
- Your third variable is:
- Your final variable is the most exciting. Tell me what it is:
- very good
- Nice, very good is a great variable choice.
- MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb one two three
- Your first variable is: one
- Your second variable is: two
- Your third variable is: three
- Your final variable is the most exciting. Tell me what it is:
- ex13.rb:8:in `gets': No such file or directory @ rb_sysopen - one (Errno::ENOENT)
- from ex13.rb:8:in `gets'
- from ex13.rb:8:in `<main>'
- MacBookPro-JulieFischer:~ julie.fischer$ ruby ex13.rb one,two,three
- Your first variable is: one,two,three
- Your second variable is:
- Your third variable is:
- Your final variable is the most exciting. Tell me what it is:
- ex13.rb:8:in `gets': No such file or directory @ rb_sysopen - one,two,three (Errno::ENOENT)
- from ex13.rb:8:in `gets'
- from ex13.rb:8:in `<main>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement