--args is read first, then stdin if a stream is being piped into Ruby.