Very Basic Example: (notice the <! part !>)

/------------------------------------------------->
class MyName
	def first_name(era)
		part = "Cassius" if era == "before"
		part = "Muhammad" if era == "after"
		return part
	end
	def middle_name(era)
		part = "Marcellus" if era == "before"
		part = "" if era == "after"
		return part
	end
	def last_name(era)
		part = "Clay" if era == "before"
		part = "Ali" if era == "after"
		return part
	end
end

parts = %w"first middle last"
parts.each do |part|
	puts part + " name details: " +
	MyName.new.<! part !>_name("before") +
	" is now " +
	MyName.new.<! part !>_name("after")
end
/-------------------------------------------------<

Excuse the logic.. The purpose is to display the need for referencing
methods dynamically, with variables being passed.

Any help will be appreciated.

Thx