title: How do we create a array of 2 properties in yml?
body: <p>How do we create a array of 2 properties in yml?</p>
  
  <p>Eg:
  Array of employees. Each employee has 2 properties, name and age</p>
  
  <pre><code>employee:
  -name : emp1
   age : 20
  -name :emp1
   age : 20
  </code></pre>
  
  <p>Is this correct?</p>
  
  <p>Any finally i want to return it in ruby</p>
  
  <pre><code>def readEmployees
          [
              {name: 'emp1', age: '20'},
              {name: 'emp2', age: '30'},
          ]
   end
  </code></pre>