#{variable_to_display}
For example, to if x=5, to display "The value of X is 5", do:
x=5
puts "The value of X is #{x}"
To test this, save the above two lines to a file called string_interp.rb and then do
ruby string_interp.rb
Assorted notes on my development experiences, and other useful workflow and environment tips, for Windows and Linux.
#{variable_to_display}
x=5
puts "The value of X is #{x}"
ruby string_interp.rb
rake clean
rake
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
gem update --system
gem install rails
sudo apt-get --purge remove ruby-rvm
sudo rm -rf /usr/share/ruby-rvm /etc/rvmrc /etc/profile.d/rvm.sh
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
xrandr --output monitorName --primary
xrandr --output DVI-I-2 --primary