working with embedded ruby