You could simplify this, by:

```ruby
puts km1.miles_to_kilometers(10)
```