Created
December 5, 2018 22:37
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
jenkins_slaves_ips = { | |
00 => "192.168.54.5", | |
01 => "192.168.54.6", | |
02 => "192.168.54.7", | |
} | |
How to loop over this hash ? | |
jenkins_slaves_ips.each |nb| | |
puts "#{nb}" | |
end | |
=> | |
c:/code/v1/mvp0-level0/Vagrantfile:220: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' | |
puts "#{nb}" | |
^ | |
c:/code/v1/mvp0-level0/Vagrantfile:224: syntax error, unexpected keyword_end, expecting end-of-input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment