Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- info = <<-eos
- Shipper: #{shipper+" on "+stripdate.to_s}
- Address: #{address}
- City: #{city}
- Pieces:#{pieces}
- Weight: #{weight}
- Going To: #{goingto}
- Ready: #{ready}
- Close: #{close}
- Caller: #{caller}
- Telephone No.: #{tele}
- eos
- puts info.gsub /^$\n/, ''
- #why does this code output like this:
- Shipper: f
- on 10/22/2012
- Address: f
- City: f
- Pieces:f
- Weight: f
- Going To: f
- Ready: f
- Close: f
- Caller: f
- Telephone No.: f
- #I want the first 2 lines on the same line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement