message no. 134726
Posted by Tohuw in #jekyll at 2016-05-08T03:00:54Z
Hello, I'm working on a Jekyll plugin and need to access the contents of a key in config.yml and retrieve all the values as an array. For example, in config.yml if I have: mykey: ["value1", "value2"] and in my Ruby code I have: %w[] and I wish to fill the yml values in the square brackets, how do I do that?