Created
July 6, 2016 14:53
-
-
Save Dysp/173b4c6676f929ec529bf209fb7014e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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