What is the best way to create an alias to a instance atribute in Ruby (I\'m not using rails or any ruby gem, just, Ruby). For example given the class below, how can I c
For Rails
alias_attribute new_name, old_name
Source http://api.rubyonrails.org/classes/ActiveModel/AttributeMethods/ClassMethods.html#method-i-alias_attribute
Use case: When you, most likely, want to change the attribute name without changing schema and without breaking existing functionality