Added the ruby skeleton will refactor it a bit
Refactored the skeleton to pass a code block