ruby interfaces example