特定のパターンに従って多くの文字列があります。
string = "Hello, @name. You did @thing." # example
基本的に、私の文字列は @word が動的な記述です。実行時にそれぞれを値に置き換える必要があります。
string = "Hello, #{@name}. You did #{@thing}." # Is not an option!
@word は基本的に変数ですが、上記の方法を使用することはできません。どうすればいいですか?