mutsuda/Invoicer — comment on commit 3a7ee069310977032fd7e800f8c21c046ab9647b
File: app/models/invoice.rb line 15
By albertbellonch:

simply write:

```
def iva_price
iva * base_price
end
```

Remember that:

* The return value on a Ruby function is the last expression evaluated, so return is almost never used.
* You only have to use self.{attribute} when writing to that attribute.