working with ruby dsl