Skip to content

Instantly share code, notes, and snippets.

@dayspring1
Created June 28, 2017 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dayspring1/242c29ca6952dbd9e6b57e85bc47fa49 to your computer and use it in GitHub Desktop.
Save dayspring1/242c29ca6952dbd9e6b57e85bc47fa49 to your computer and use it in GitHub Desktop.
Dataexport
Employee Name
EMPLOYEENAME(R$1)
define_method("EMPLOYEENAME") do |employee_name|
case employee_name
when "107611406"
return "Tara"
when "107615502"
return "Kaitlin"
when "107616014"
return "Sammy D"
when "107684110"
return "Alison"
when "107684366"
return "Courtney L"
when "107684622"
return "Shirley"
when "108745742"
return "Brianne"
when "111212814"
return "Jose"
when "107615822"
return "$am"
when "107616078"
return "Vince"
when "107684174"
return "Christian"
when "107684430"
return "Ethan"
when "107684686"
return "Mikey"
when "107616142"
return "Ron"
when "107684238"
return "Courtney K"
when "107684494"
return "Kevin F"
when "107615950"
return "Lynsey"
when "107616206"
return "Herry"
when "107616462"
return "Nikki"
when "107684046"
return "Justin"
when "107684558"
return "Raymond"
else
return ""
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment