Skip to content

Instantly share code, notes, and snippets.

@Dysp
Created July 6, 2016 14:53
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 Dysp/173b4c6676f929ec529bf209fb7014e7 to your computer and use it in GitHub Desktop.
Save Dysp/173b4c6676f929ec529bf209fb7014e7 to your computer and use it in GitHub Desktop.
def extract_data
kincom_settings = [:ms_dif_nm, :ms_dif_nms, :ms_dif_nmpc, :subject, :mvc]
p kincom_settings.map { |sym| [self.sym] }.to_h
#output_kincom_to_excel(self, kincom_settings)
end
# Error: NoMethodError: undefined method `sym' for #<Kincom:0x00000004227d98>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment